Skip to content

Commit

Permalink
Do not add unused created attribute to metadata of couch documents on…
Browse files Browse the repository at this point in the history
… create (#7656)

this isn't used anywhere

Co-authored-by: Andrew Henry <[email protected]>
  • Loading branch information
davetsay and akhenry authored Apr 4, 2024
1 parent de3dad0 commit e3adeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/persistence/couch/CouchObjectProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ class CouchObjectProvider {
this.objectQueue[key].pending = true;
const queued = this.objectQueue[key].dequeue();
let couchDocument = new CouchDocument(key, queued.model);
couchDocument.metadata.created = Date.now();

this.#enqueueForPersistence({
key,
document: couchDocument
Expand Down

0 comments on commit e3adeb6

Please sign in to comment.