fix response error
gitea/worker-time-control/pipeline/head This commit looks good
Details
gitea/worker-time-control/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7c5386058b
commit
fb85d7fe0a
|
@ -85,7 +85,7 @@ $.ajaxPrefilter(function(xhr) {
|
|||
}
|
||||
}
|
||||
|
||||
if(xhr?.responseJSON.error.code == 'periodNotExceeded') return;
|
||||
if(xhr?.responseJSON?.error?.code == 'periodNotExceeded') return;
|
||||
|
||||
switch (textStatus){
|
||||
case 'parsererror':
|
||||
|
|
Loading…
Reference in New Issue