From cd70f54266d708867a1eb35870bc755bc5b2df32 Mon Sep 17 00:00:00 2001 From: ivar Date: Wed, 3 Dec 2025 21:49:20 +0100 Subject: Refactor db --- api/WhatApi/Endpoints/GetPlacesEndpoint.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'api/WhatApi/Endpoints/GetPlacesEndpoint.cs') 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 HandleAsync(double w, double s, double e, double n, CancellationToken ct = default) { -- cgit v1.3