core: support ban user from domain

This commit is contained in:
undefined committed 2025-03-23 05:04:38 +08:00
1 parent ff1605797b
commit 7ed859be2d
8 files changed
+15 -6

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ export async function push(
{ $push: { [key]: v } },
{ returnDocument: 'after' },
);
return [doc.value, _id];
return [doc, _id];
}
export async function pull<K extends keyof DocType, T extends ArrayKeys<DocType[K]>>(