Updates
This commit is contained in:
@@ -12,5 +12,5 @@ export default function dbGrabUserResource<T extends {
|
||||
error: any;
|
||||
msg: string | undefined;
|
||||
};
|
||||
count: number | undefined;
|
||||
count: number | null;
|
||||
}>;
|
||||
|
||||
@@ -34,7 +34,7 @@ function dbGrabUserResource(params) {
|
||||
error: result === null || result === void 0 ? void 0 : result.error,
|
||||
msg: result === null || result === void 0 ? void 0 : result.msg,
|
||||
},
|
||||
count: typeof (result === null || result === void 0 ? void 0 : result.count) == "number" ? result.count : undefined,
|
||||
count: typeof (result === null || result === void 0 ? void 0 : result.count) == "number" ? result.count : null,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user