Skip to content

Commit

Permalink
Temp: Allow CreateAnnotation mutation in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubcolony authored and bogdan-1337 committed Apr 17, 2024
1 parent f91e971 commit 5ab62fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/graphql/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ const hasMutationPermissions = async (
/*
* Actions, Mutations
*/
case MutationOperations.CreateAnnotation:
case MutationOperations.CreateColonyActionMetadata: {
const {
input: { id: actionId },
Expand Down Expand Up @@ -165,7 +164,8 @@ const hasMutationPermissions = async (
/**
* Expenditures
*/
case MutationOperations.CreateExpenditureMetadata: {
case MutationOperations.CreateExpenditureMetadata:
case MutationOperations.CreateAnnotation: {
return true;
}
/**
Expand Down

0 comments on commit 5ab62fd

Please sign in to comment.