From f162e9d49cd2c54fad3dfb7fdf6df1cefae5126f Mon Sep 17 00:00:00 2001 From: RonniSkansing Date: Sat, 12 Sep 2026 12:35:06 +0200 Subject: [PATCH] fix domain list could cause 500 via. API Signed-off-by: RonniSkansing --- backend/controller/domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controller/domain.go b/backend/controller/domain.go index 14407316..efcf20da 100644 --- a/backend/controller/domain.go +++ b/backend/controller/domain.go @@ -75,7 +75,7 @@ func (d *Domain) GetAll(g *gin.Context) { g.Request.Context(), session, queryArgs, - true, // TODO there might not be any reason to retrieve the full relation here - optimize by removing it (false) + false, // list response does not use the company relation ) if ok := d.handleErrors(g, err); !ok { return