File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ class owner extends Base {
6060 this . get ( `groups` )
6161 . then ( response => response . json ( ) )
6262 . then ( groups => {
63- if ( groups . body . length === 0 ) return resolve ( ) ;
63+ if ( groups . length === 0 ) return resolve ( ) ;
6464
65- let filtered = this . _filterGroupsByParents ( groups . body , this . groups . map ( g => g . id ) ) ;
65+ let filtered = this . _filterGroupsByParents ( groups , this . groups . map ( g => g . id ) ) ;
6666 if ( filtered . length === 0 ) return resolve ( ) ;
6767
6868 this . groups = this . groups . concat ( filtered ) ;
@@ -126,7 +126,7 @@ class owner extends Base {
126126 this . get ( `groups/${ group . id } /projects` )
127127 . then ( response => response . json ( ) )
128128 . then ( projects => {
129- this . projects = this . projects . concat ( projects . body ) ;
129+ this . projects = this . projects . concat ( projects ) ;
130130 done ( ) ;
131131 } )
132132 . catch ( e => done ( e ) ) ;
You can’t perform that action at this time.
0 commit comments