Add bible API

This commit is contained in:
aeroreyna
2023-01-12 12:19:29 -05:00
parent fddce94cfb
commit dadf070ac5
5 changed files with 89 additions and 8 deletions

View File

@@ -22,9 +22,9 @@ class User {
this.isGroup = info.isGroup || false;
this.isCourse = info.isCourse || false;
this.isPrivate = info.isPrivate || false;
this.isChat = info.isChat || false;
this.subscribed = info.subscribed || {}; //Subscribed user to groups
this.pending = info.subscribed || {}; //Private groups require authorization
this.pending = info.pending || {}; //Private groups require authorization
}
toObj(){
@@ -42,6 +42,7 @@ class User {
r.isGroup = this.isGroup;
r.isCourse = this.isCourse;
r.isPrivate = this.isPrivate;
r.isChat = this.isChat;
r.subscribed = this.subscribed;
r.pending = this.pending;
return r;