forked from Yara724/api
YARA-739, YARA-740, YARA-741
This commit is contained in:
@@ -285,7 +285,7 @@ export class ExpertBlameService {
|
||||
// The file is locked by someone else, or lock expired but status hasn't updated yet
|
||||
// Only block if lock is still active and not by current expert
|
||||
if (request.lockFile && !isLockExpired && !isLockedByCurrentExpert) {
|
||||
throw new BadRequestException("Request is locked by another expert");
|
||||
throw new BadRequestException("Request is locked by another expert");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user