Merge branch 'hotfix/21.56.9' into master
[gitter.git] / server / serializers / rest / chat-id-strategy.js
blob4f7f92c76d1d0351e1e4bd0a3d196bd9e11b173d
1 'use strict';
3 var chatService = require('gitter-web-chats');
4 var ChatStrategy = require('./chat-strategy');
5 var idStrategyGenerator = require('gitter-web-serialization/lib/id-strategy-generator');
6 var ChatIdStrategy = idStrategyGenerator('ChatIdStrategy', ChatStrategy, chatService.findByIds);
8 module.exports = ChatIdStrategy;