Shop Update

This commit is contained in:
2025-04-13 04:33:46 -04:00
parent 3028419660
commit 01d8986dd2
5 changed files with 226 additions and 120 deletions

View File

@@ -72,7 +72,8 @@ export class User {
}
async update(Id: string, data: any) {
return await this.model.updateOne({ id: Id }, { $set: data }, this.upsert);
await this.model.updateOne({ id: Id }, { $set: data }, this.upsert);
return await this.model.findOne({ id: Id });
}
async delete(Id: string) {