lib/omniauth/strategies/intercode.rb in intercode_client-0.1.0 vs lib/omniauth/strategies/intercode.rb in intercode_client-0.1.1
- old
+ new
@@ -5,10 +5,10 @@
module OmniAuth
module Strategies
class Intercode < OmniAuth::Strategies::OAuth2
CurrentUserQuery = IntercodeClient::Client.parse <<~GRAPHQL
- query IntercodeClientCurrentUserQuery {
+ query {
currentUser {
id
first_name
last_name
email