diff --git a/handlers/RSS.js b/handlers/RSS.js index ae34375f..447af5fe 100644 --- a/handlers/RSS.js +++ b/handlers/RSS.js @@ -1,6 +1,6 @@ import RssFeedEmitter from 'rss-feed-emitter'; -import feeds from '../resources/rssFeeds.json' assert { type: 'json' }; +import feeds from '../resources/rssFeeds.json' with { type: 'json' }; import { logger } from '../utilities/index.js'; /** diff --git a/handlers/Twitter.js b/handlers/Twitter.js index 7299e7a7..5ef7e0bb 100644 --- a/handlers/Twitter.js +++ b/handlers/Twitter.js @@ -1,6 +1,6 @@ import Twitter from 'twitter'; -import toWatch from '../resources/tweeters.json' assert { type: 'json' }; +import toWatch from '../resources/tweeters.json' with { type: 'json' }; import { logger } from '../utilities/index.js'; import { twiClientInfo, TWITTER_TIMEOUT } from '../utilities/env.js';