Skip to content

Commit dc8459e

Browse files
authored
i dont rememeber why i removed this (#535)
1 parent 236ec67 commit dc8459e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/extensions/DogeisCut/dogeiscutObject.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
if (value && typeof value === 'object') {
146146
if (value instanceof ObjectType) result[key] = value.toJSON()
147147
else if (typeof value.toJSON === 'function') result[key] = value.toJSON()
148+
else if (typeof value.toString === 'function') result[key] = value.toString()
148149
else result[key] = value
149150
} else {
150151
result[key] = value

0 commit comments

Comments
 (0)