oops, fix a missing await in modeling
This caused swf asset syncs to be unreliable!
This commit is contained in:
parent
900d102594
commit
5b2e370295
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ async function saveSwfAssetModelingData(customPetData, context) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
syncToDb(db, incomingSwfAssets, {
|
await syncToDb(db, incomingSwfAssets, {
|
||||||
loader: swfAssetByRemoteIdLoader,
|
loader: swfAssetByRemoteIdLoader,
|
||||||
tableName: "swf_assets",
|
tableName: "swf_assets",
|
||||||
buildLoaderKey: (row) => ({ type: row.type, remoteId: row.remoteId }),
|
buildLoaderKey: (row) => ({ type: row.type, remoteId: row.remoteId }),
|
||||||
|
|
Loading…
Reference in a new issue