diff options
author | bobzel <zzzman@gmail.com> | 2024-05-03 10:55:33 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-03 10:55:33 -0400 |
commit | f927a585c75a20629379bcb34d1483c0ca9d8db9 (patch) | |
tree | f070e9e64ecaf251e6708b8ce4d722f121a6d039 /src/server/updateProtos.ts | |
parent | 723c8b33ade753764d1d02b130c189fb65e20425 (diff) | |
parent | 9b424c94d7a89950e9cf3f72e684bd15a61e87ae (diff) |
merged with new version of master
Diffstat (limited to 'src/server/updateProtos.ts')
-rw-r--r-- | src/server/updateProtos.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/updateProtos.ts b/src/server/updateProtos.ts index 2f3772a77..72a44ebf4 100644 --- a/src/server/updateProtos.ts +++ b/src/server/updateProtos.ts @@ -6,15 +6,15 @@ const protos = ['text', 'image', 'web', 'collection', 'kvp', 'video', 'audio', ' await Promise.all( protos.map( protoId => - new Promise(res => + new Promise(res => { Database.Instance.update( protoId, { $set: { 'fields.isBaseProto': true }, }, res - ) - ) + ); + }) ) ); |