Skip to content

Commit 8285178

Browse files
Fix TC profile load
1 parent 492917c commit 8285178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/members.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class MembersService {
8787
* @return {Promise} Resolves to the stats object.
8888
*/
8989
async getStats(handle, groupIds) {
90-
if (!groupIds) {
90+
if (!groupIds || (_.isArray(groupIds) && groupIds.length === 0)) {
9191
const res = await this.private.api.get(`/members/${handle}/stats`);
9292
return getApiResponsePayload(res);
9393
}

0 commit comments

Comments
 (0)