app/graphql/ibrain/auth/mutations/sign_in_mutation.rb in ibrain-auth-0.1.4 vs app/graphql/ibrain/auth/mutations/sign_in_mutation.rb in ibrain-auth-0.1.5

- old
+ new

@@ -23,9 +23,11 @@ current_user.jwt_token, jti = auth_headers(request, user) current_user.jti = jti current_user.save! + context[:current_user] = current_user + OpenStruct.new( user: user_signed_in? ? current_user : nil, token: current_user.try(:jwt_token), result: user_signed_in? )