feature: update address updated_at in multi api (#676)

This commit is contained in:
Dream Hunter
2025-06-21 01:48:35 +08:00
committed by GitHub
parent 483c429feb
commit e6c582be9f
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ export async function updateAddressUpdatedAt(
// update address updated_at
try {
if (address) {
c.env.DB.prepare(
await c.env.DB.prepare(
`UPDATE address SET updated_at = datetime('now') where name = ?`
).bind(address).run();
}