mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-24 23:35:24 +00: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