forked from Yara724/api
Merge pull request 'main' (#28) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#28
This commit is contained in:
@@ -3936,6 +3936,7 @@ export class RequestManagementService {
|
||||
async getMyExpertInitiatedFilesV2(expert: any): Promise<any[]> {
|
||||
const expertId = new Types.ObjectId(expert.sub);
|
||||
const files = await this.blameRequestDbService.find({
|
||||
blameStatus: { $ne: BlameStatus.UNKNOWN },
|
||||
$or: [
|
||||
{ expertInitiated: true, initiatedByFieldExpertId: expertId },
|
||||
{ registrarInitiated: true, initiatedByRegistrarId: expertId },
|
||||
|
||||
Reference in New Issue
Block a user