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

Merge branch 'account-api-tests' of github.com:Budibase/budibase into account-api-tests

This commit is contained in:
Rory Powell 2023-07-20 09:23:04 +01:00
commit f641341dac
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]>,