We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cd8ac1 + c5cc02c commit 8800824Copy full SHA for 8800824
lib/object.js
@@ -1392,7 +1392,7 @@ module.exports = function(AV) {
1392
AV.Object._canBeSerializedAsValue = function(object) {
1393
var canBeSerializedAsValue = true;
1394
1395
- if (object instanceof AV.Object) {
+ if (object instanceof AV.Object || object instanceof AV.File) {
1396
canBeSerializedAsValue = !!object.id;
1397
1398
} else if (_.isArray(object)) {
0 commit comments