diff --git a/federation/src/client/1_0/AuthenticationClient.ts b/federation/src/client/1_0/AuthenticationClient.ts index 10a9265f5..2742846b0 100644 --- a/federation/src/client/1_0/AuthenticationClient.ts +++ b/federation/src/client/1_0/AuthenticationClient.ts @@ -57,7 +57,7 @@ export class AuthenticationClient { const { data } = await this.client.rawRequest(authenticate, { args }) logger.debug('Authentication: after authenticate: data:', data) // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access - const authUuid: string = data?.authenticate.uuid + const authUuid: string = data?.authenticate if (authUuid) { logger.debug('Authentication: received authenticated uuid', authUuid) return authUuid diff --git a/federation/src/client/1_0/query/authenticate.ts b/federation/src/client/1_0/query/authenticate.ts index 7d4e50578..843d8b78b 100644 --- a/federation/src/client/1_0/query/authenticate.ts +++ b/federation/src/client/1_0/query/authenticate.ts @@ -2,8 +2,6 @@ import { gql } from 'graphql-request' export const authenticate = gql` mutation ($args: AuthenticationArgs!) { - authenticate(data: $args) { - uuid - } + authenticate(data: $args) } `