Commit 67e7dcf8 authored by cgw's avatar cgw

?bug:syncInterface 接口无更新,修改sync_model的属性失败

this.syncModel.upById(projectId, oldSyncJob);-->this.syncModel.upById(oldSyncJob._id, oldSyncJob);
parent d5c950fd
......@@ -98,7 +98,7 @@ class syncUtils {
// this.saveSyncLog(0, syncMode, "接口无更新", uid, projectId);
oldSyncJob.last_sync_time = yapi.commons.time();
await this.syncModel.upById(projectId, oldSyncJob);
await this.syncModel.upById(oldSyncJob._id, oldSyncJob);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment