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: [ {