forked from Yara724/api
Enforce claim beneficiary access and retire unused legacy APIs
This commit is contained in:
@@ -50,14 +50,4 @@ export class FileReviewerDbService {
|
||||
new: true,
|
||||
});
|
||||
}
|
||||
|
||||
async findAll(
|
||||
filter: FilterQuery<FileReviewerModel>,
|
||||
): Promise<(FileReviewerModel & { _id: Types.ObjectId })[]> {
|
||||
return await this.fileReviewerModel.find(filter).lean();
|
||||
}
|
||||
|
||||
async updateOne(filter: FilterQuery<FileReviewerModel>, update: any) {
|
||||
return this.fileReviewerModel.updateOne(filter, update);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user