From 7374c62f4b6edf6e9de19621e702c61c9bd2be60 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 23 Jan 2018 14:45:54 -0800 Subject: [PATCH] fixed the import statements; --- constants/index.js | 6 ++++-- helpers/publishHelpers.js | 2 +- helpers/statsHelpers.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/constants/index.js b/constants/index.js index cb04051f..ee36baf0 100644 --- a/constants/index.js +++ b/constants/index.js @@ -1,2 +1,4 @@ -export const PUBLISH_ANONYMOUS_CLAIM = 'PUBLISH_ANONYMOUS_CLAIM'; -export const PUBLISH_IN_CHANNEL_CLAIM = 'PUBLISH_IN_CHANNEL_CLAIM'; +module.exports = { + PUBLISH_ANONYMOUS_CLAIM : 'PUBLISH_ANONYMOUS_CLAIM', + PUBLISH_IN_CHANNEL_CLAIM: 'PUBLISH_IN_CHANNEL_CLAIM', +}; diff --git a/helpers/publishHelpers.js b/helpers/publishHelpers.js index 2353687a..5d315a49 100644 --- a/helpers/publishHelpers.js +++ b/helpers/publishHelpers.js @@ -1,4 +1,4 @@ -import * as constants from '../constants'; +const constants = require('../constants'); const logger = require('winston'); const fs = require('fs'); const { site, wallet } = require('../config/speechConfig.js'); diff --git a/helpers/statsHelpers.js b/helpers/statsHelpers.js index d4de3df9..f37e7df1 100644 --- a/helpers/statsHelpers.js +++ b/helpers/statsHelpers.js @@ -1,4 +1,4 @@ -import * as constants from '../constants'; +const constants = require('../constants'); const logger = require('winston'); const ua = require('universal-analytics'); const config = require('../config/speechConfig.js');