Fix for avtocod

This commit is contained in:
Selim Mustafaev 2020-06-04 20:06:04 +03:00
parent 42c914d67f
commit dc9aa472b1

View File

@ -85,7 +85,7 @@ class AvtocodProvider {
} }
let hash = result[1]; let hash = result[1];
result = html.match(/value:\s+(\{"cloud_payments_public_key".*?\})\s/); result = html.match(/value:(.*report_container.*)/);
if(result == null) { if(result == null) {
throw Error('Error getting report data'); throw Error('Error getting report data');
} }