fix response error
gitea/worker-time-control/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-12-07 09:11:36 +01:00
parent 7c5386058b
commit fb85d7fe0a
1 changed files with 1 additions and 1 deletions

View File

@ -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':