From 18e890ceed745850393fbd286caf30b0c61bc5dd Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Fri, 2 Jun 2023 14:43:56 +0200 Subject: [PATCH] add filter in export fleets --- handlers/exports/fleets.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/handlers/exports/fleets.go b/handlers/exports/fleets.go index fb73fdc..6f69c79 100644 --- a/handlers/exports/fleets.go +++ b/handlers/exports/fleets.go @@ -12,7 +12,6 @@ import ( groupsstorage "git.coopgo.io/coopgo-platform/groups-management/storage" accounts "git.coopgo.io/coopgo-platform/mobility-accounts/grpcapi" accountsstorage "git.coopgo.io/coopgo-platform/mobility-accounts/storage" - "git.coopgo.io/coopgo-platform/groups-management/storage" "github.com/xuri/excelize/v2" ) @@ -127,7 +126,7 @@ func (h *ExportsHandler) Bookings(w http.ResponseWriter, r *http.Request) { // filter by group g := r.Context().Value(identification.GroupKey) - group := g.(storage.Group) + group := g.(groupsstorage.Group) if bookedbygroup != group.ID { continue