“我的域”功能

This commit is contained in:
undefined committed 2020-07-14 19:02:19 +08:00
1 parent d4e849a133
commit eaed0e84f5
11 files changed
+122 -27

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export async function get(_id: string) {
return null;
}
export async function getMany(keys: string[]): Promise<Dictionary<any>> {
export async function getMany(keys: string[]): Promise<any[]> {
const docs = await coll.find({ _id: { $in: keys } }).toArray();
const dict = {};
const res = [];