mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-25 07:45:23 +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",
|
data: "users",
|
||||||
total: (json, from, perPage) => {
|
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: {
|
rooms: {
|
||||||
|
|
Loading…
Reference in a new issue