3 const debug
= require('debug')('gitter:infra:serializer:gitlab-group');
5 function GitlabGroupStrategy(/*options*/) {
6 this.preload = function(/*groups*/) {};
8 this.map = function(item
) {
14 avatar_url
: item
.avatar_url
,
16 absoluteUri
: item
.absoluteUri
21 GitlabGroupStrategy
.prototype = {
22 name
: 'GitlabGroupStrategy'
25 module
.exports
= GitlabGroupStrategy
;