1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

improve list-group api (#2785)

This commit is contained in:
杨顺强
2019-01-08 13:55:00 +08:00
committed by Daniel Pan
parent 8066bcfa51
commit 03b305aadd
3 changed files with 3 additions and 5 deletions

View File

@@ -8,9 +8,7 @@ class Group {
this.created_at = object.created_at;
this.parent_group_id = object.parent_group_id;
this.wiki_enabled = object.wiki_enabled;
if (object.repos) {
this.repos = object.repos;
}
this.repos = object.repos || [];
}
}