Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Commit

Permalink
provide default value for POCKET_KEY to satisfy Nock dependencies (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylano authored and tamarahills committed Sep 17, 2018
1 parent a033ad8 commit 109e911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/CommandController.js
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ function buildIntro(article) {

async function getPocketArticleTextFromUrl(url) {
articleOptions.formData = {
consumer_key: process.env.POCKET_KEY,
consumer_key: process.env.POCKET_KEY || '',
url,
images: '0',
videos: '0',
Expand Down

0 comments on commit 109e911

Please sign in to comment.