remove console.log

This commit is contained in:
Claus-Peter Huebner 2024-04-02 16:29:09 +02:00
parent 920b3b6aef
commit 00f9c9073a

View File

@ -3,6 +3,7 @@ import { User as DbUser } from '@entity/User'
import { verifyAuthToken } from '@/apis/gms/GmsClient'
import { CONFIG } from '@/config'
import { GmsUserAuthenticationResult } from '@/graphql/model/GmsUserAuthenticationResult'
import { backendLogger as logger } from '@/server/logger'
export async function authenticateGmsUserPlayground(
token: string,
@ -11,7 +12,6 @@ export async function authenticateGmsUserPlayground(
const result = new GmsUserAuthenticationResult()
result.url = CONFIG.GMS_URL.concat('/playground')
result.token = await verifyAuthToken(dbUser.communityUuid, token)
// eslint-disable-next-line no-console
console.log('GmsUserAuthenticationResult:', result)
logger.info('GmsUserAuthenticationResult:', result)
return result
}