统一前后端代码格式化配置
This commit is contained in:
@@ -29,12 +29,7 @@ export async function createTaskEvent(
|
||||
) VALUES ($1, $2, $3::jsonb, $4)
|
||||
RETURNING *
|
||||
`,
|
||||
[
|
||||
Number(taskId),
|
||||
String(eventType || '').trim(),
|
||||
JSON.stringify(payload || {}),
|
||||
createdAt,
|
||||
],
|
||||
[Number(taskId), String(eventType || '').trim(), JSON.stringify(payload || {}), createdAt],
|
||||
)
|
||||
|
||||
return result.rows[0] || null
|
||||
|
||||
Reference in New Issue
Block a user