Skip to content

Commit

Permalink
update err message
Browse files Browse the repository at this point in the history
  • Loading branch information
nickoferrall committed Nov 6, 2024
1 parent 85f77a6 commit fd693f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const toggleFeatureFlag: MutationResolvers['toggleFeatureFlag'] = async (
const ownerId = (orgId || teamId || userId) as string

if (orgId && !(await isUserOrgAdmin(viewerId, orgId, dataLoader))) {
return standardError(new Error('Not organization admin or billing lead'))
return standardError(new Error('Not organization admin'))
}

if (teamId) {
Expand Down

0 comments on commit fd693f6

Please sign in to comment.