Fix weather creation route error handling
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m15s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 33s

This commit is contained in:
2026-08-28 20:12:34 +01:00
parent 3960931ebe
commit f252562103
+1 -1
View File
@@ -63,7 +63,7 @@ module.exports = function registerWeatherRoutes(app, deps) {
} catch (error) { next(error); }
});
app.get('/data-sources/weather/new', requirePermission('weather.create'), function (req, res) {
app.get('/data-sources/weather/new', requirePermission('weather.create'), function (req, res, next) {
getProviderAvailability().then(function (providerAvailability) {
res.send(renderWeatherLocationAddPage({}, req.query.message ? String(req.query.message) : '', req.currentUser, { providerAvailability: providerAvailability }));
}).catch(next);