Skip to content

Commit 15dd1ae

Browse files
committed
Fixng minor typo, lint bug, and adding missing newsapi module.
1 parent 988455d commit 15dd1ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

api/convert-markdown-to-html/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { Block } = require('node-webpipe')
33

44
new Block()
55
.name('Convert Markdown to HTML')
6-
.description('Determine whether or not a hostname exists.')
6+
.description('Convert Markdown to HTML via the GitHub API')
77
.input(
88
'text',
99
'string',

api/pkg-news-api/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ new Block()
2222
'Top headlines and ledes from requested source(s).'
2323
)
2424
.handle(({ sources = ['the-new-york-times'] }, cb) => {
25-
const articles = client.v2
25+
client.v2
2626
.topHeadlines({
2727
sources: sources,
2828
language: 'en'

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"author": "Matthew Hudson",
99
"license": "MIT",
1010
"dependencies": {
11+
"newsapi": "^2.4.0",
1112
"node-webpipe": "0.0.3"
1213
}
1314
}

0 commit comments

Comments
 (0)