Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1669 from aerogear/conflict
Browse files Browse the repository at this point in the history
fix: ensure that updatedAt is returned as string value
  • Loading branch information
wtrocki committed Jul 8, 2020
2 parents 6723140 + 747ea66 commit 94eeb5e
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -134,6 +134,8 @@ export class DataSyncMongoDBDataProvider<Type = any> extends MongoDBDataProvider
queryResult[fieldNames.updatedAt] !== undefined &&
clientData[fieldNames.updatedAt].toString() !== queryResult[fieldNames.updatedAt].toString()
) {
queryResult[fieldNames.updatedAt] = queryResult[fieldNames.updatedAt].toString()

return { serverState: queryResult, clientState: clientData };
}

Expand Down

0 comments on commit 94eeb5e

Please sign in to comment.