From 8a861b3fecca55f51bffda9676482a0918004565 Mon Sep 17 00:00:00 2001 From: Claus-Peter Huebner Date: Thu, 26 Oct 2023 00:17:52 +0200 Subject: [PATCH] set authenticateAt on resolver side --- .../src/graphql/api/1_0/resolver/AuthenticationResolver.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts index b580f0a73..600e35d2c 100644 --- a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts +++ b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts @@ -69,6 +69,7 @@ export class AuthenticationResolver { if (authCom) { // TODO decrypt args.uuid with authCom.publicKey authCom.communityUuid = args.uuid + authCom.authenticatedAt = new Date() await DbCommunity.save(authCom) logger.debug('Authentication: store authCom.uuid successfully:', authCom) const homeCom = await DbCommunity.findOneByOrFail({ foreign: false })