Skip to content

Commit

Permalink
Fix - Meta data compose error
Browse files Browse the repository at this point in the history
  • Loading branch information
inspired-technologies committed Jun 1, 2024
1 parent b4673f8 commit aa47889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openweather.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function preLoad(apikey, config, param) {
unit: latest.current[o][s].unit,
description: latest.current[o][s].description
} })
if (param.partial.split(',').indexOf(o)!==-1)
if (param.partial && param.partial.split(',').indexOf(o)!==-1)
if (latest.current[o].hasOwnProperty('key'))
latest.current.partial.push(o)
else
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openweather-signalk",
"version": "0.9.0",
"version": "0.9.1",
"description": "SignalK plugin to provide data from OpenWeather Service",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit aa47889

Please sign in to comment.