diff --git a/src/server/modeling.js b/src/server/modeling.js index 7ac117b..f2c1be3 100644 --- a/src/server/modeling.js +++ b/src/server/modeling.js @@ -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 }),