We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93b49d commit c443babCopy full SHA for c443bab
src/models/owner.js
@@ -39,8 +39,8 @@ class owner extends Base {
39
this.get(`groups`)
40
.then(response => response.json())
41
.then(groups => {
42
- if (groups.body.length === 0) return reject('Group not found');
43
- groups = groups.body;
+ if (groups.length === 0) return reject('Group not found');
+ groups = groups;
44
45
let filtered = groups.filter(group => group.full_path === this.config.get('project'));
46
if (filtered.length === 0) return reject('Group not found');
0 commit comments