mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
fix lint
This commit is contained in:
parent
871fe12f34
commit
5d6bde2acf
@ -22,9 +22,9 @@ function assertUuid(value: unknown, label: string): asserts value is string {
|
||||
}
|
||||
|
||||
type PgErrorLike = {
|
||||
code?: string;
|
||||
constraint?: string;
|
||||
message?: string;
|
||||
code?: string,
|
||||
constraint?: string,
|
||||
message?: string,
|
||||
};
|
||||
|
||||
function isDuplicateTypeError(error: unknown): error is PgErrorLike {
|
||||
@ -260,7 +260,7 @@ async function syncDatabase(
|
||||
|
||||
|
||||
export async function syncExternalDatabases(tenancy: Tenancy) {
|
||||
assertUuid(tenancy?.id, "tenancy.id");
|
||||
assertUuid(tenancy.id, "tenancy.id");
|
||||
const externalDatabases = tenancy.config.dbSync.externalDatabases;
|
||||
const internalPrisma = await getPrismaClientForTenancy(tenancy);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user