getAccounts added delete time
This commit is contained in:
parent
76d314ec00
commit
b70527032e
1 changed files with 5 additions and 3 deletions
|
@ -17,6 +17,7 @@ export const getAccounts: Act = {
|
|||
accounts.name,
|
||||
accounts.viewable,
|
||||
accounts.deleted,
|
||||
accounts.deletedTime,
|
||||
accounts.maxRooms,
|
||||
accounts.maxRoomSize,
|
||||
accounts.maxUsersPerRoom
|
||||
|
@ -28,11 +29,12 @@ export const getAccounts: Act = {
|
|||
let name = d[accounts.name];
|
||||
let viewable = d[accounts.viewable] ? true : false;
|
||||
let deleted = d[accounts.deleted] ? true : false;
|
||||
let deletedTime = Number(d[accounts.deletedTime]);
|
||||
let maxRooms = d[accounts.maxRooms];
|
||||
let maxRoomSize = d[accounts.maxRoomSize];
|
||||
let maxUsersPerRoom = d[accounts.maxUsersPerRoom];
|
||||
if (accID != null && rights != null && name != null && viewable != null && deleted != null && maxRooms != null && maxRoomSize != null && maxUsersPerRoom != null) {
|
||||
return { accID, rights, name, viewable, deleted, maxRooms, maxRoomSize, maxUsersPerRoom };
|
||||
if (accID != null && rights != null && name != null && viewable != null && deleted != null && maxRooms != null && maxRoomSize != null && maxUsersPerRoom != null && deletedTime != null) {
|
||||
return { accID, rights, name, viewable, deleted, deletedTime, maxRooms, maxRoomSize, maxUsersPerRoom };
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue