backport group slug fix

This commit is contained in:
Barış Soner Uşaklı
2016-01-10 20:52:23 +02:00
parent a9659de87e
commit cccc567854

View File

@@ -29,6 +29,7 @@ var async = require('async'),
/* Assorted */
Meta.userOrGroupExists = function(slug, callback) {
slug = utils.slugify(slug);
async.parallel([
async.apply(user.existsBySlug, slug),
async.apply(groups.existsBySlug, slug)