diff options
author | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
commit | 99931c4ca423d51555c24533a98e921c83c941e1 (patch) | |
tree | 07baab3cb627eae837c18fb2a6981a746765ec61 /src/server/updateProtos.ts | |
parent | a197d8d37e62235bfa59bc8e3bb74c39381c30a4 (diff) | |
parent | 69e286b504c2f1bbef7d489dc675b9e54ef8d983 (diff) |
Merge branch 'restoringEslint' into eleanor-starter
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 - ) - ) + ); + }) ) ); |