1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Update BTC payments

This commit is contained in:
Daniel Neto 2025-03-14 09:30:07 -03:00
parent f9962a7835
commit 41dd0f0734
29 changed files with 1417 additions and 43 deletions

View file

@ -1793,11 +1793,15 @@ function json_decode(jsonString) {
}
function avideoResponse(response) {
//console.log('avideoResponse', response);
//console.log('avideoResponse 1', response);
if (typeof response === 'string') {
response = json_decode(response);
}
//console.log('avideoResponse', response);
if (typeof response.responseJSON === 'object') {
response = response.responseJSON;
}
//console.log('avideoResponse 2', response);
if (response.error) {
if (!response.msg) {
if (typeof response.error === 'string') {