mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
“我的域”功能
This commit is contained in:
1 parent
d4e849a133
commit
eaed0e84f5
11 files changed
+122
-27
No files matched your search
@@ -13,7 +13,7 @@ export async function add(domainId: string, owner: number, name: string, bulleti
|
||||
return domainId;
|
||||
}
|
||||
|
||||
export function get(domainId: string): Promise<DomainDoc> {
|
||||
export function get(domainId: string): Promise<DomainDoc | null> {
|
||||
return coll.findOne({ _id: domainId });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user