mirror of
https://github.com/wassname/talk.git
synced 2026-08-18 12:30:39 +08:00
Remove subscription code
This commit is contained in:
@@ -7,10 +7,6 @@ const {ADD_COMMENT_TAG, REMOVE_COMMENT_TAG} = require('../../perms/constants');
|
||||
*/
|
||||
const modify = async ({user, loaders: {Tags}, pubsub}, operation, {name, id, item_type, asset_id}) => {
|
||||
|
||||
if (operation.name === 'add') {
|
||||
pubsub.publish('commentFeatured', {});
|
||||
}
|
||||
|
||||
// Get the global list of tags from the dataloader.
|
||||
const tags = await Tags.getAll.load({id, item_type, asset_id});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user