File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -319,14 +319,13 @@ class GroupService {
319
319
* cache. Defaults to 5 minutes.
320
320
* @return {Promise } Resolves to ID array.
321
321
*/
322
- async getGroupTreeIds ( rootGroupId , maxage = 5 * 60 * 1000 ) {
323
-
324
- let url = `/groups/${ rootGroupId } ?flattenGroupIdTree=true` ;
322
+ async getGroupTreeIds ( rootGroupId ) {
323
+ const url = `/groups/${ rootGroupId } ?flattenGroupIdTree=true` ;
325
324
const response = await this . private . api . get ( url ) ;
326
325
const responseJSON = handleApiResponse ( response ) ;
327
326
328
- const treeIds = responseJSON . flattenGroupIdTree
329
- treeIds . push ( rootGroupId )
327
+ const treeIds = responseJSON . flattenGroupIdTree ;
328
+ treeIds . push ( rootGroupId ) ;
330
329
331
330
return treeIds ;
332
331
}
@@ -397,4 +396,4 @@ export function getService(tokenV3) {
397
396
return lastInstance ;
398
397
}
399
398
400
- export default undefined ;
399
+ export default undefined ;
You can’t perform that action at this time.
0 commit comments