group data

This commit is contained in:
Barış Soner Uşaklı
2018-10-23 08:28:59 -04:00
parent c30ff42817
commit 175e13edf6
4 changed files with 60 additions and 55 deletions

View File

@@ -36,9 +36,9 @@ module.exports = function (Groups) {
slug: slug,
createtime: timestamp,
userTitle: data.userTitle || data.name,
userTitleEnabled: parseInt(data.userTitleEnabled, 10) === 1 ? 1 : 0,
description: data.description || '',
memberCount: memberCount,
deleted: 0,
hidden: isHidden ? 1 : 0,
system: isSystem ? 1 : 0,
private: isPrivate,