Skip to content

Instantly share code, notes, and snippets.

{
model: {
objectType: 'community',
id: 234234234
},
activitystream: {
uuid: 345345345
}
creator: TUPLE,
members: [TUPLE],
module.exports.save = function(notification, callback) {
function sendCallback(err, children, parent) {
if ( parent ) {
topic.publish(parent);
}
callback(err,children);
}
if (!notification) {
return callback(new Error('Notification can not be null'));
"use strict";
/**
* Passport wrapper for ldapauth
*/
var passport = require('passport'),
LdapAuth = require('ldapauth-fork'),
util = require('util');
/**