PR changes

This commit is contained in:
Mitch-Budibase 2023-07-19 17:31:33 +01:00
parent 6631c2644d
commit ec5203f775
2 changed files with 0 additions and 4 deletions

View File

@ -53,8 +53,6 @@ async function passportCallback(
} }
export const login = async (ctx: Ctx<LoginRequest>, next: any) => { export const login = async (ctx: Ctx<LoginRequest>, next: any) => {
const tenantId = context.getTenantId()
console.log(tenantId)
const email = ctx.request.body.username const email = ctx.request.body.username
const user = await userSdk.getUserByEmail(email) const user = await userSdk.getUserByEmail(email)

View File

@ -1,8 +1,6 @@
import { Response } from "node-fetch" import { Response } from "node-fetch"
import { APIRequestOpts } from "../../../types" import { APIRequestOpts } from "../../../types"
// TODO: Add to LicenseAPI
export default class BaseAPI { export default class BaseAPI {
async doRequest( async doRequest(
request: () => Promise<[Response, any]>, request: () => Promise<[Response, any]>,