From e0ed4928ae2f6b42dd8b1cdb52fcab581aef82a4 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 18 Sep 2017 20:35:59 +0200 Subject: [PATCH] Reword the invalid API key error So that it is clear where exactly this needs to be resolved. --- js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 4e0bf43..4c35f74 100644 --- a/js/app.js +++ b/js/app.js @@ -199,7 +199,7 @@ app.controller('WeatherController', ['$scope', '$interval', '$timeout', '$compil $scope.cityLoadNeedsAPIKey = false; } else if (r.status == 401) { - $scope.cityLoadError = "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in administration settings"; + $scope.cityLoadError = "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration"; $scope.cityLoadNeedsAPIKey = true; } else { @@ -234,7 +234,7 @@ app.controller('WeatherController', ['$scope', '$interval', '$timeout', '$compil }, function (r) { if (r.status == 401) { - $scope.addCityError = "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in administration settings"; + $scope.addCityError = "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration"; } else if (r.status == 404) { $scope.addCityError = "No city with this name found.";