Fix tariff API route not matching co2 (#33166)
This commit is contained in:
parent
2b87fe2b1d
commit
b3db9e93fe
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ func (s *HTTPd) RegisterSiteHandlers(site site.API) {
|
|||
"smartcostdelete": {"DELETE", "/smartcostlimit", updateSmartCostLimit(site, smartCostLimit)},
|
||||
"smartfeedin": {"POST", "/smartfeedinprioritylimit/{value:-?[0-9.]+}", updateSmartCostLimit(site, smartFeedInPriorityLimit)},
|
||||
"smartfeedindelete": {"DELETE", "/smartfeedinprioritylimit", updateSmartCostLimit(site, smartFeedInPriorityLimit)},
|
||||
"tariff": {"GET", "/tariff/{tariff:[a-z]+}", tariffHandler(site)},
|
||||
"tariff": {"GET", "/tariff/{tariff:[a-z0-9]+}", tariffHandler(site)},
|
||||
"sessions": {"GET", "/sessions", sessionHandler},
|
||||
"updatesession": {"PUT", "/session/{id:[0-9]+}", updateSessionHandler},
|
||||
"deletesession": {"DELETE", "/session/{id:[0-9]+}", deleteSessionHandler},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue