mumblebaj / MMM-NewsAPI

MagicMirror² module - displaying news articles from Newsapi.org API V2
MIT License
7 stars 5 forks source link

Typo in Node_helper.js for qInTitle search causes query fail #9

Closed jconno03 closed 6 months ago

jconno03 commented 6 months ago

Node_helper.js has an error which causes a news search by title to fail. qIntTitle should be qInTitle

Line 34: if (q.hasOwnProperty("qInTitle") && q.qInTitle !== "") qs = Object.assign({}, qs, {"qIntTitle":q["qInTitle"]}) Line 74: if (q.hasOwnProperty("qInTitle") && q.qInTitle !== "") qs = Object.assign({}, qs, {"qIntTitle":q["qInTitle"]})

mumblebaj commented 6 months ago

Thanks for picking this up. I have pushed a fix for this.