[compliments] fix: duplicate query param "?" in compliments module refresh url (#3967)

Checks if `this.config.remoteFile.includes` already contains a `?`
- If it does, uses `&` to append the dummy parameter
- If it doesn't, uses `?` to start a new query string
This commit is contained in:
Samed Ozdemir
2025-11-19 05:06:43 -05:00
committed by GitHub
parent 1796400ab9
commit a52baa5874
2 changed files with 4 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ planned for 2026-01-01
- fixed problems with daylight-saving-time in weather provider `openmeto` (#3930, #3931)
- [newsfeed] fixed header layout issue introduced with prettier njk linting (#3946)
- [weather] fixed windy icon not showing up in pirateweather (#3957)
- [compliments] fixed duplicate query param "?" when constructing refresh url (#3967)
### Updated