From a72c6e49de56172ccbdff76e2b7dc199608fb88f Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Thu, 22 Oct 2020 16:28:22 -0500 Subject: [PATCH] Updated login handler --- lib/bigcommerce/api/customers/handlers/login.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/bigcommerce/api/customers/handlers/login.ts b/lib/bigcommerce/api/customers/handlers/login.ts index 787c055f8..d1000c648 100644 --- a/lib/bigcommerce/api/customers/handlers/login.ts +++ b/lib/bigcommerce/api/customers/handlers/login.ts @@ -17,8 +17,7 @@ const loginHandler: LoginHandlers['login'] = async ({ // Passwords must be at least 7 characters and contain both alphabetic // and numeric characters. - // TODO: Currently not working, fix this asap. - const loginData = await login({ variables: { email, password }, config }) + await login({ variables: { email, password }, config, res }) res.status(200).json({ data: null }) }