oops, fix a missing await in modeling

This caused swf asset syncs to be unreliable!
This commit is contained in:
Emi Matchu 2020-10-06 07:35:00 -07:00
parent 900d102594
commit 5b2e370295

View file

@ -262,7 +262,7 @@ async function saveSwfAssetModelingData(customPetData, context) {
}
}
syncToDb(db, incomingSwfAssets, {
await syncToDb(db, incomingSwfAssets, {
loader: swfAssetByRemoteIdLoader,
tableName: "swf_assets",
buildLoaderKey: (row) => ({ type: row.type, remoteId: row.remoteId }),