Skip to content

Commit

Permalink
fix(api): change validation rule for result request
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommytrg committed Aug 17, 2021
1 parent 72e1376 commit 7f569e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/repository/ResultRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ export class ResultRequestRepository {
private isValidResultRequest (
resultRequest: Omit<ResultRequestDbObject, '_id'>
): boolean {
return containFalsyValues(resultRequest)
return !containFalsyValues(resultRequest)
}
}

0 comments on commit 7f569e4

Please sign in to comment.