return error if purchase fails

This commit is contained in:
Johannes Zellner
2021-09-16 17:19:38 +02:00
parent 9da18d3acb
commit da23bae09e

View File

@@ -1831,6 +1831,8 @@ async function purchaseApp(data) {
if (!purchaseError) return;
await del(data.appId);
throw purchaseError;
}
async function clone(app, data, user, auditSource) {