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 @@ -95,17 +95,17 @@ class MembersService {
95
95
const groupIdsArray = _ . isArray ( groupIds ) ? groupIds : _ . split ( groupIds , ',' ) ;
96
96
const groupIdChunks = _ . chunk ( groupIdsArray , 50 ) ;
97
97
98
- const getStatRequests = _ . map ( groupIdChunks , async groupIdChunk => {
98
+ const getStatRequests = _ . map ( groupIdChunks , async ( groupIdChunk ) => {
99
99
const res = await this . private . api . get ( `/members/${ handle } /stats?groupIds=${ _ . join ( groupIdChunk ) } ` ) ;
100
100
return getApiResponsePayload ( res , false ) ;
101
101
} ) ;
102
102
const results = await Promise . all ( getStatRequests ) ;
103
103
104
104
return _ . uniqBy (
105
105
_ . flatten (
106
- _ . filter ( results , _ . isArray )
106
+ _ . filter ( results , _ . isArray ) ,
107
107
) ,
108
- item => item . groupId
108
+ item => item . groupId ,
109
109
) ;
110
110
}
111
111
You can’t perform that action at this time.
0 commit comments