From 0db1d88c3f73bcc2abb192a3722827be2371557a Mon Sep 17 00:00:00 2001 From: Hassan Tarif <68386394+hassanrbh@users.noreply.github.com> Date: Fri, 19 Aug 2022 15:23:18 +0100 Subject: [PATCH] Update validate_token.rb --- app/graphql/mutations/auth/validate_token.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/mutations/auth/validate_token.rb b/app/graphql/mutations/auth/validate_token.rb index a734efb..07dfb69 100644 --- a/app/graphql/mutations/auth/validate_token.rb +++ b/app/graphql/mutations/auth/validate_token.rb @@ -20,7 +20,7 @@ def resolve } else { - errors: [], + errors: user.errors.full_messages, success: false, user: nil, valid: false