Skip to content

Commit fe33a4b

Browse files
Fix missing await to responseJSON
1 parent d4cc793 commit fe33a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/groups.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class GroupService {
322322
async getGroupTreeIds(rootGroupId) {
323323
const url = `/groups/${rootGroupId}?flattenGroupIdTree=true`;
324324
const response = await this.private.api.get(url);
325-
const responseJSON = handleApiResponse(response);
325+
const responseJSON = await handleApiResponse(response);
326326

327327
const treeIds = responseJSON.flattenGroupIdTree;
328328
treeIds.push(rootGroupId);

0 commit comments

Comments
 (0)