From 1688ded788e9762df6d2d647ef36dc4ac912decd Mon Sep 17 00:00:00 2001 From: elweyn Date: Mon, 20 Dec 2021 15:26:51 +0100 Subject: [PATCH] Withdrew password argument of createUser. --- backend/src/graphql/arg/CreateUserArgs.ts | 3 --- backend/src/webhook/elopage.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/backend/src/graphql/arg/CreateUserArgs.ts b/backend/src/graphql/arg/CreateUserArgs.ts index 3a8914200..0d63e76bb 100644 --- a/backend/src/graphql/arg/CreateUserArgs.ts +++ b/backend/src/graphql/arg/CreateUserArgs.ts @@ -11,9 +11,6 @@ export default class CreateUserArgs { @Field(() => String) lastName: string - @Field(() => String) - password: string - @Field(() => String) language?: string // Will default to DEFAULT_LANGUAGE diff --git a/backend/src/webhook/elopage.ts b/backend/src/webhook/elopage.ts index eb46b10e8..80fa90933 100644 --- a/backend/src/webhook/elopage.ts +++ b/backend/src/webhook/elopage.ts @@ -146,7 +146,6 @@ export const elopageWebhook = async (req: any, res: any): Promise => { firstName, lastName, publisherId: loginElopgaeBuy.publisherId, - password: '123', // TODO remove }) } catch (error) { // eslint-disable-next-line no-console