Skip to content

Commit

Permalink
#2708 prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaryan1203 committed Sep 6, 2024
1 parent 3369737 commit 7ed4bf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/src/utils/reimbursement-requests.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ export const validateUserEditRRPermissions = async (
reimbursementRequest.recipientId !== user.userId ||
reimbursementRequest.reimbursementStatuses.some((status) => status.type === ReimbursementStatusType.PENDING_FINANCE)
)
throw new AccessDeniedException('Only the creator or finance team can edit a reimbursement request. A request that has been pending finance cannot be edited.');
throw new AccessDeniedException(
'Only the creator or finance team can edit a reimbursement request. A request that has been pending finance cannot be edited.'
);
}
};

Expand Down

0 comments on commit 7ed4bf2

Please sign in to comment.