You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
386 B
JavaScript
16 lines
386 B
JavaScript
'use strict';
|
|
|
|
|
|
var helpers = require('./helpers');
|
|
|
|
module.exports = function (SocketPosts) {
|
|
|
|
SocketPosts.bookmark = function (socket, data, callback) {
|
|
helpers.postCommand(socket, 'bookmark', 'bookmarked', '', data, callback);
|
|
};
|
|
|
|
SocketPosts.unbookmark = function (socket, data, callback) {
|
|
helpers.postCommand(socket, 'unbookmark', 'bookmarked', '', data, callback);
|
|
};
|
|
|
|
}; |