Skip to content

Commit

Permalink
fix(envited.ascs.digital): profile guard
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Scheeren <[email protected]>
  • Loading branch information
royscheeren committed Feb 2, 2024
1 parent b00d765 commit ea87210
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const _update =
userId: session.user.id,
})
}

if (!isOwnProfile(user)(profile)) {
throw forbiddenError({
resource: 'profiles',
Expand Down

0 comments on commit ea87210

Please sign in to comment.