repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git]
/
server
/
serializers
/
rest
/
user-settings-strategy.js
blob
12b75e74589ab1b6aa7f19c731063b78702c03e3
1
'use strict'
;
2
3
class
UserSettingsStrategy
{
4
preload
() {}
5
6
map
(
item
) {
7
return
{
8
id
:
item
.
id
||
item
.
_id
,
9
userId
:
item
.
userId
,
10
settings
:
item
.
settings
11
};
12
}
13
}
14
15
module
.
exports
=
UserSettingsStrategy
;