Skip to content

Commit 722435b

Browse files
committed
fix: mongo 6.0
1 parent e25bf10 commit 722435b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Storage/Mongo/MongoStorageAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ export class MongoStorageAdapter implements StorageAdapter {
567567
session: transactionalSession || undefined,
568568
})
569569
)
570-
.then(result => mongoObjectToParseObject(className, result.value, schema))
570+
.then(result => mongoObjectToParseObject(className, result, schema))
571571
.catch(error => {
572572
if (error.code === 11000) {
573573
throw new Parse.Error(

0 commit comments

Comments
 (0)