PR changes
This commit is contained in:
parent
6631c2644d
commit
ec5203f775
|
@ -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)
|
||||
|
|
|
@ -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]>,
|
||||
|
|
Loading…
Reference in New Issue