permit unknown keys
All checks were successful
Build and Publish / check-chart (push) Successful in 17s
Build and Publish / helm-release (push) Has been skipped
Build and Publish / release (push) Successful in 5m2s

This commit is contained in:
Ryan McGuire 2025-04-02 19:30:32 -04:00
parent 8a4f360a45
commit e2c464b34e

View File

@ -145,6 +145,8 @@ func UnmarshalQueryParams(query url.Values) (*AmbientWeatherUpdate, error) {
update := new(AmbientWeatherUpdate)
decoder := schema.NewDecoder()
decoder.IgnoreUnknownKeys(true)
if err := decoder.Decode(update, query); err != nil {
return nil, err
}