fix(ci): format catalog repair audit write
This commit is contained in:
@@ -853,9 +853,7 @@ export async function applyCatalogParentRepair(
|
||||
await tx.execute(
|
||||
sql`UPDATE ${table} SET parent_id = ${change.to} WHERE id = ${change.id} AND parent_id = ${change.from}`,
|
||||
);
|
||||
await tx
|
||||
.insert(AdminAuditLog)
|
||||
.values({
|
||||
await tx.insert(AdminAuditLog).values({
|
||||
userId,
|
||||
action: "catalog_parent_repair",
|
||||
target: tableName,
|
||||
|
||||
Reference in New Issue
Block a user