From 2d96a5a1a9fecabeebadb73748f5109b266db624 Mon Sep 17 00:00:00 2001 From: Enzo Mercanti Date: Mon, 28 Oct 2024 14:00:54 -0300 Subject: [PATCH] fix: add proper token validation to getUserByEmail --- graphql/schema.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql/schema.graphql b/graphql/schema.graphql index 1ca7d69..dd7e1e1 100644 --- a/graphql/schema.graphql +++ b/graphql/schema.graphql @@ -31,7 +31,7 @@ type Query { getUserByEmail(email: String!): [User] @cacheControl(scope: PRIVATE) @withSender - @checkUserAccess + @validateStoreUserAccess listAllUsers: [User] @cacheControl(scope: PRIVATE, maxAge: SHORT)