Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zinen authored Oct 9, 2024
1 parent 3b0277c commit cb1d242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nordpool-api-plus.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ module.exports = function (RED) {

async function prices (node, fetch, opts) {
node.status({ fill: 'blue', shape: 'dot', text: 'Getting prices' })
let response = undefined
let response
try {
const url = 'https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?market=DayAhead&deliveryArea=' + opts.area + '&currency=' + opts.currency + '&date=' + opts.date
response = await fetch(url)
Expand Down

0 comments on commit cb1d242

Please sign in to comment.