lib/plugin.js
function (m1, m2, fship) {
    var query = {_id: m1};

    fship.added = new Date();

    var updater = {$push: {}};
    updater.$push[pathName] = fship;

    return _update(query, updater, fship);
  }
function (m1, m2, fship) {
    var query = {_id: m1};

    fship.added = new Date();

    var updater = {$push: {}};
    updater.$push[pathName] = fship;

    return _update(query, updater, fship);
  }
function ( m1 , m2 , fship ) { var query = { _id : m1 } ; fship . added = new Date ( ) ; var updater = { $push : { } } ; updater . $push [ pathName ] = fship ; return _update ( query , updater , fship ) ; }
Return a function to create a new friendship between two parties

@api private
Return a function to create a new friendship between two parties