mirror of
https://github.com/Awesome-Technologies/synapse-admin.git
synced 2024-10-31 06:55:15 +03:00
Fix coding style
Change-Id: Ifa944a7eb541b290f54d67eb654b893e71724843
This commit is contained in:
parent
7eeb60539f
commit
e4dd013c19
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ const resourceMap = {
|
|||
}),
|
||||
data: "users",
|
||||
total: (json, from, perPage) => {
|
||||
return json.next_token ? parseInt(json.next_token, 10) + perPage : from + json.users.length;
|
||||
return json.next_token
|
||||
? parseInt(json.next_token, 10) + perPage
|
||||
: from + json.users.length;
|
||||
},
|
||||
},
|
||||
rooms: {
|
||||
|
|
Loading…
Reference in a new issue