Remove bool ref

This commit is contained in:
Adria Navarro 2023-05-16 13:23:35 +02:00
parent bc21484223
commit be6c398f53
1 changed files with 3 additions and 9 deletions

View File

@ -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) {