user registration, bal, change_bal, transfer

This commit is contained in:
stjet
2024-07-25 05:25:40 +00:00
parent f8780249ce
commit 9226debee2
14 changed files with 328 additions and 19 deletions

6
util.ts Normal file
View File

@@ -0,0 +1,6 @@
import type { UpdateResult } from "mongodb";
export function did_update(result: UpdateResult): boolean {
return result.modifiedCount > 0;
}