Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
types(server): make the constraints for target validator to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 11, 2022
1 parent 77523b9 commit 5b3450a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/types/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface UniqueConsultationScheduleConstraints {
}

export interface DoesBelongToCurrentUserConstraints<U> extends ManagerBasedRuleConstraints {
doesBelongToUser: {
doesBelongToUser?: {
permissionGroup: BasePermissionGroup<any, U>,
anyPermissionCombinationForBypass: U[][]
}
Expand Down

0 comments on commit 5b3450a

Please sign in to comment.