0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(cloud): remove redundant field (#3519)

This commit is contained in:
Gao Sun 2023-03-20 10:15:47 +08:00 committed by GitHub
parent d0a5537b31
commit 1f374b87df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ export const createConnectorsQuery = (client: Queryable<PostgreSql>) => {
const findAllConnectors = async (tenantId: string) => {
const { rows } = await client.query<Connector>(sql`
select id, sync_profile as "syncProfile",
config, metadata, storage, connector_id as "connectorId",
config, metadata, connector_id as "connectorId",
created_at as "createdAt"
from connectors
where tenant_id=${tenantId}