feat: migrate backend storage to postgres
This commit is contained in:
@@ -9,7 +9,7 @@ export default defineEventHandler(async (event) => {
|
||||
return useResponseError('参数错误', -1);
|
||||
}
|
||||
|
||||
const updated = softDeleteTransaction(id);
|
||||
const updated = await softDeleteTransaction(id);
|
||||
if (!updated) {
|
||||
return useResponseError('交易不存在', -1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user