summaryrefslogtreecommitdiffstats
path: root/api/WhatApi/Endpoints/GetPlacesEndpoint.cs
diff options
context:
space:
mode:
authorivar <i@oiee.no>2025-12-03 21:49:20 +0100
committerivar <i@oiee.no>2025-12-03 21:49:20 +0100
commitcd70f54266d708867a1eb35870bc755bc5b2df32 (patch)
treef0a8ec571ef3f345ac74293b4cb11918878b3ed5 /api/WhatApi/Endpoints/GetPlacesEndpoint.cs
parent5bd9ad8bd1740dcff179d66718532086304ca4c4 (diff)
downloadwhat-cd70f54266d708867a1eb35870bc755bc5b2df32.tar.xz
what-cd70f54266d708867a1eb35870bc755bc5b2df32.zip
Refactor db
Diffstat (limited to 'api/WhatApi/Endpoints/GetPlacesEndpoint.cs')
-rw-r--r--api/WhatApi/Endpoints/GetPlacesEndpoint.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/WhatApi/Endpoints/GetPlacesEndpoint.cs b/api/WhatApi/Endpoints/GetPlacesEndpoint.cs
index 08068c8..28b1613 100644
--- a/api/WhatApi/Endpoints/GetPlacesEndpoint.cs
+++ b/api/WhatApi/Endpoints/GetPlacesEndpoint.cs
@@ -1,9 +1,8 @@
using NetTopologySuite.Features;
-using WhatApi.Tables;
namespace WhatApi.Endpoints;
-public class GetPlacesEndpoint(Database db) : BaseEndpoint
+public class GetPlacesEndpoint(AppDatabase db) : BaseEndpoint
{
[HttpGet("~/places")]
public async Task<ActionResult> HandleAsync(double w, double s, double e, double n, CancellationToken ct = default) {