Remove bool ref
This commit is contained in:
parent
bc21484223
commit
be6c398f53
|
@ -133,16 +133,10 @@ export async function verify(
|
|||
}
|
||||
const response = await connector.testConnection()
|
||||
|
||||
if (typeof response === "boolean") {
|
||||
ctx.body = {
|
||||
connected: response,
|
||||
}
|
||||
} else {
|
||||
ctx.body = {
|
||||
connected: false,
|
||||
connected: response.connected,
|
||||
error: response.error,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export async function buildSchemaFromDb(ctx: UserCtx) {
|
||||
|
|
Loading…
Reference in New Issue