return error if purchase fails
This commit is contained in:
@@ -1831,6 +1831,8 @@ async function purchaseApp(data) {
|
||||
if (!purchaseError) return;
|
||||
|
||||
await del(data.appId);
|
||||
|
||||
throw purchaseError;
|
||||
}
|
||||
|
||||
async function clone(app, data, user, auditSource) {
|
||||
|
||||
Reference in New Issue
Block a user