mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
fixes an issue with slash weather
This commit is contained in:
parent
3b3d38c685
commit
8b784600c2
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ module.exports = {
|
|||
data = data.response.body
|
||||
|
||||
let units = ["°C", "°F"]
|
||||
if(["f","fahrenheit","°f"].includes(args.units.toLowerCase())) units = ["°F", "°C"]
|
||||
if(args.units) if(["f","fahrenheit","°f"].includes(args.units.toLowerCase())) units = ["°F", "°C"]
|
||||
|
||||
let pages = []
|
||||
pages.push(page(renderWeatherCard(context, data, units[0])))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue