1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

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) => {
const tenantId = context.getTenantId()
console.log(tenantId)
const email = ctx.request.body.username
const user = await userSdk.getUserByEmail(email)

View file

@ -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]>,