From 15b5dc2236fd52d9701df94a05049d028feb1f07 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 8 Jun 2017 11:58:38 -0300 Subject: [PATCH] Linting --- client/coral-embed-stream/src/graphql/index.js | 2 +- plugins/coral-plugin-offtopic/index.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client/coral-embed-stream/src/graphql/index.js b/client/coral-embed-stream/src/graphql/index.js index aa6b5d9a2..7f62240b5 100644 --- a/client/coral-embed-stream/src/graphql/index.js +++ b/client/coral-embed-stream/src/graphql/index.js @@ -158,8 +158,8 @@ const extension = { assigned_by: { id: auth.toJS().user.id, }, + __typename: 'Tag' })), - tags: tags.map((t) => ({name: t, __typename: 'Tag'})), status: null, replyCount: 0, parent: parent_id diff --git a/plugins/coral-plugin-offtopic/index.js b/plugins/coral-plugin-offtopic/index.js index 9988686ff..eae6a2ef7 100644 --- a/plugins/coral-plugin-offtopic/index.js +++ b/plugins/coral-plugin-offtopic/index.js @@ -1,6 +1,3 @@ -const {readFileSync} = require('fs'); -const path = require('path'); - module.exports = { tags: [ {