bump version

This commit is contained in:
undefined committed 2022-01-07 23:00:14 +08:00
1 parent 5ef7b94df8
commit 0028827761
13 files changed
+33 -33

No files matched your search

+2 -2
View File
@@ -33,8 +33,8 @@ class RecordModel {
return base - ((pending * 1000 + 1) * (sum(timeRecent.map((i) => i.time || 0)) / 10000));
}
static async get(_id: ObjectID): Promise<RecordDoc | null>
static async get(domainId: string, _id: ObjectID): Promise<RecordDoc | null>
static async get(_id: ObjectID): Promise<RecordDoc | null>;
static async get(domainId: string, _id: ObjectID): Promise<RecordDoc | null>;
static async get(arg0: string | ObjectID, arg1?: any) {
const _id = arg1 || arg0;
const domainId = arg1 ? arg0 : null;