Class: Ibrain::Mutations::GenerateFirebaseTokenMutation

Inherits:
AuthMutation
  • Object
show all
Defined in:
app/graphql/ibrain/mutations/generate_firebase_token_mutation.rb

Instance Method Summary collapse

Methods inherited from AuthMutation

#_prefixes, #ready?

Instance Method Details

#resolve(_args) ⇒ Object



10
11
12
13
14
# File 'app/graphql/ibrain/mutations/generate_firebase_token_mutation.rb', line 10

def resolve(_args)
  token = repo.generate_custom_token!

  graphql_returning(token)
end