mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update BTC payments
This commit is contained in:
parent
f9962a7835
commit
41dd0f0734
29 changed files with 1417 additions and 43 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue