From 60cdb1f20a071da1bbbda6501d59170c4913f296 Mon Sep 17 00:00:00 2001 From: Tiago Gimenes Date: Fri, 25 Mar 2022 09:16:51 -0300 Subject: [PATCH] value --- packages/api/src/platforms/vtex/resolvers/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/platforms/vtex/resolvers/query.ts b/packages/api/src/platforms/vtex/resolvers/query.ts index 2315b5e045..489369f5da 100644 --- a/packages/api/src/platforms/vtex/resolvers/query.ts +++ b/packages/api/src/platforms/vtex/resolvers/query.ts @@ -163,7 +163,7 @@ export const Query = { return ( profile && { - id: profile.id, + id: profile.id?.value ?? '', email: profile.email?.value ?? '', givenName: profile.firstName?.value ?? '', familyName: profile.lastName?.value ?? '',