File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ class CrawlingAPI extends BaseAPI {
6666 return super . processResponse ( response ) . then ( ( response ) => {
6767 if ( undefined !== response . headers && undefined !== response . headers . original_status ) {
6868 response . originalStatus = response . headers . original_status * 1 ;
69- response . cbStatus = ( response . headers . cb_status || response . headers . pc_status ) * 1 ;
69+ response . cbStatus = response . pcStatus = ( response . headers . cb_status || response . headers . pc_status ) * 1 ;
7070 } else if ( undefined !== response . json ) {
7171 response . originalStatus = response . json . original_status * 1 ;
72- response . cbStatus = ( response . json . cb_status || response . json . pc_status ) * 1 ;
72+ response . cbStatus = response . pcStatus = ( response . json . cb_status || response . json . pc_status ) * 1 ;
7373 }
7474 return response ;
7575 } ) ;
You can’t perform that action at this time.
0 commit comments