From 637394819103bb2bf21e0b0ef316f155f9809b64 Mon Sep 17 00:00:00 2001 From: StanlyLife Date: Wed, 18 Oct 2023 08:39:07 +0200 Subject: [PATCH] Changed parking code --- .../ModernaMedia/Controllers/WeatherForecastController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModernaMediaDotNet/ModernaMedia/Controllers/WeatherForecastController.cs b/ModernaMediaDotNet/ModernaMedia/Controllers/WeatherForecastController.cs index 606e4bb..02064f2 100644 --- a/ModernaMediaDotNet/ModernaMedia/Controllers/WeatherForecastController.cs +++ b/ModernaMediaDotNet/ModernaMedia/Controllers/WeatherForecastController.cs @@ -25,7 +25,7 @@ public WeatherForecastController() public async Task Get() { var client = new HttpClient(); - var request = new HttpRequestMessage(HttpMethod.Get, "https://trondheim-autopark.giantleap.net/public/rest/site/zone/7333/capacity"); + var request = new HttpRequestMessage(HttpMethod.Get, "https://trondheim-autopark.giantleap.net/public/rest/site/zone/7378/capacity"); request.Headers.Add("Authorization", "Basic c2l0ZXByb3BlcnR5Onc2cjI4ODI1YXNteDVxNThhcGxp"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode();