开启后端严格空值检查
This commit is contained in:
@@ -116,6 +116,12 @@ export async function dispatchKuaishouCloudFulfillmentTask(
|
||||
context_json: JSON.stringify(nextContext),
|
||||
updated_at: now,
|
||||
});
|
||||
if (!updatedTask) {
|
||||
throw createHttpError("快手 Cloud 发货状态更新失败", {
|
||||
statusCode: 500,
|
||||
errorCode: "kuaishou_cloud_dispatch_update_failed",
|
||||
});
|
||||
}
|
||||
|
||||
await createTaskEvent(
|
||||
task.id,
|
||||
|
||||
Reference in New Issue
Block a user