Skip to content

Commit

Permalink
Merge pull request #152 from vtex/fix-add-affiliates-auth
Browse files Browse the repository at this point in the history
AddAffiliates query authentication fix
  • Loading branch information
GabrielBarross authored Oct 30, 2023
2 parents bbcf436 + 3cf1aa6 commit 12d21cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Query {
filter: AffiliatesFilterInput
sorting: AffliatesSortingInput
): AffiliatesPage! @checkAdminAccess
getAffiliate(affiliateId: ID!): Affiliate @checkAdminAccess
getAffiliate(affiliateId: ID!): Affiliate @checkUserAccess
getAffiliateByEmail(email: String!): Affiliate
getAffiliatesScroll(
filter: AffiliatesFilterInput
Expand All @@ -16,7 +16,7 @@ type Query {
}

type Mutation {
addAffiliate(newAffiliate: NewAffiliateInput!): Affiliate! @checkAdminAccess
addAffiliate(newAffiliate: NewAffiliateInput!): Affiliate!
updateAffiliate(
affiliateId: String!
updateAffiliate: UpdateAffiliateInput!
Expand Down

0 comments on commit 12d21cf

Please sign in to comment.