fix domain list could cause 500 via. API

Signed-off-by: RonniSkansing <rskansing@gmail.com>
This commit is contained in:
RonniSkansing committed 2026-09-12 12:35:06 +02:00
1 parent f1ebeda058
commit f162e9d49c
1 file changed
+1 -1
+1 -1
View File
@@ -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