style(backend): 格式化代码并修复floating-promises以通过pre-push检查
This commit is contained in:
@@ -86,7 +86,6 @@ export async function findLatestOrderByAnyPlatformOrderId(
|
||||
return result.rows[0] || null
|
||||
}
|
||||
|
||||
|
||||
export async function findExistingPlatformOrderIds({
|
||||
provider = 'pdd',
|
||||
platform = 'pdd',
|
||||
|
||||
@@ -376,7 +376,7 @@ export async function pruneWorkProductMatchLogs(
|
||||
}
|
||||
|
||||
const remainingRes = await query<{ total: number }>(
|
||||
"SELECT COUNT(*)::int AS total FROM work_product_match_logs",
|
||||
'SELECT COUNT(*)::int AS total FROM work_product_match_logs',
|
||||
)
|
||||
const remainingTotal = Number(remainingRes.rows[0]?.total || 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user