From ec5203f775f8820a172a846b981faf38f316b681 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Wed, 19 Jul 2023 17:31:33 +0100 Subject: [PATCH] PR changes --- packages/worker/src/api/controllers/global/auth.ts | 2 -- qa-core/src/account-api/api/apis/BaseAPI.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/worker/src/api/controllers/global/auth.ts b/packages/worker/src/api/controllers/global/auth.ts index a458a98aa7..131601c6ad 100644 --- a/packages/worker/src/api/controllers/global/auth.ts +++ b/packages/worker/src/api/controllers/global/auth.ts @@ -53,8 +53,6 @@ async function passportCallback( } export const login = async (ctx: Ctx, next: any) => { - const tenantId = context.getTenantId() - console.log(tenantId) const email = ctx.request.body.username const user = await userSdk.getUserByEmail(email) diff --git a/qa-core/src/account-api/api/apis/BaseAPI.ts b/qa-core/src/account-api/api/apis/BaseAPI.ts index 7b74a2d3f5..ed5d261e9e 100644 --- a/qa-core/src/account-api/api/apis/BaseAPI.ts +++ b/qa-core/src/account-api/api/apis/BaseAPI.ts @@ -1,8 +1,6 @@ import { Response } from "node-fetch" import { APIRequestOpts } from "../../../types" -// TODO: Add to LicenseAPI - export default class BaseAPI { async doRequest( request: () => Promise<[Response, any]>,