Enforce claim beneficiary access and retire unused legacy APIs

This commit is contained in:
SepehrYahyaee
2026-10-05 14:39:51 +03:30
parent 0735333467
commit a3f9aab8fb
104 changed files with 6864 additions and 13223 deletions
@@ -24,10 +24,6 @@ export class UserDbService {
.lean()) as UserModel[];
}
async findPlate(plate: number) {
return await this.userModel.find({ "plates.leftDigits": { $in: plate } });
}
async findOneAndUpdate(
user: FilterQuery<UserModel>,
update: UpdateQuery<UserModel>,