From 1b2a99a3c80bb18933407a3cade94d83e5b0fb10 Mon Sep 17 00:00:00 2001 From: John Costa Date: Tue, 1 Apr 2025 19:32:55 +0000 Subject: [PATCH] fix: adding location to general query --- backend/models/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/models/user.go b/backend/models/user.go index 6581053..ae2ed5a 100644 --- a/backend/models/user.go +++ b/backend/models/user.go @@ -34,7 +34,7 @@ type ImageWithProperties struct { Events []struct { model.Events - Location *model.Locations `alias:"Location.*"` + Location *model.Locations } }