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
Merge branch 'hotfix/21.56.9' into master
[gitter.git]
/
server
/
api
/
private
/
sample-chats.js
blob
f9ecb9307fb12cbd080f1574e3ec1e7139368fec
1
'use strict'
;
2
3
var
sampleChatsService
=
require
(
'../../services/sample-chats-service'
);
4
5
module
.
exports
=
function
(
req
,
res
,
next
) {
6
return
sampleChatsService
7
.
getSamples
()
8
.
then
(
function
(
samples
) {
9
res
.
send
(
samples
);
10
})
11
.
catch
(
next
);
12
};