File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 118118
119119 $scope . currentStatusCode = '200' ;
120120
121+ if ( $scope . methodInfo . responseCodes && $scope . methodInfo . responseCodes . length > 0 ) {
122+ $scope . currentStatusCode = $scope . methodInfo . responseCodes [ 0 ] ;
123+ }
124+
121125 function beautify ( body , contentType ) {
122126 if ( contentType . indexOf ( 'json' ) ) {
123127 body = vkbeautify . json ( body , 2 ) ;
Original file line number Diff line number Diff line change 1313
1414 $scope . currentStatusCode = '200' ;
1515
16+ if ( $scope . methodInfo . responseCodes && $scope . methodInfo . responseCodes . length > 0 ) {
17+ $scope . currentStatusCode = $scope . methodInfo . responseCodes [ 0 ] ;
18+ }
19+
1620 function beautify ( body , contentType ) {
1721 if ( contentType . indexOf ( 'json' ) ) {
1822 body = vkbeautify . json ( body , 2 ) ;
You can’t perform that action at this time.
0 commit comments