Skip to content

Commit 5b42838

Browse files
author
Ajit Kumar
committed
fix: continue processing orders when plugin is not found
1 parent 2085773 commit 5b42838

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/lib/updateOrders.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function updateOrder(startDate, endDate, google) {
3535
const [plugin] = await Plugin.get([Plugin.SKU], [Plugin.ID, pluginId]);
3636
if (!plugin) {
3737
console.log(`Plugin ${pluginId} not found`);
38-
return;
38+
continue;
3939
}
4040

4141
const purchase = await androidpublisher.purchases.products.get({

0 commit comments

Comments
 (0)