users and profiles working
This commit is contained in:
@@ -17,6 +17,7 @@ class User {
|
||||
this.lastUpdate = info.lastUpdate || new Date();
|
||||
this.newsFeedCache = info.newsFeedCache || [];
|
||||
this.isGroup = info.isGroup || false;
|
||||
this.isCourse = info.isCourse || false;
|
||||
}
|
||||
|
||||
toObj(){
|
||||
@@ -30,6 +31,7 @@ class User {
|
||||
r.lastUpdate = this.lastUpdate;
|
||||
r.newsFeedCache = this.newsFeedCache;
|
||||
r.isGroup = this.isGroup;
|
||||
r.isCourse = this.isCourse;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user