groupware: fix getall template result type: []T instead of RESP

This commit is contained in:
Pascal Bleser
2026-04-23 15:08:18 +02:00
parent 47f70283f2
commit eb4cd432e4

View File

@@ -48,7 +48,7 @@ func create[T jmap.Foo, CHANGE jmap.Change, CHANGES jmap.Changes[T]](
}
// Retrieve all the {{.Name}}.
// @api:response 200:RESP returns all the {{.Names}}
// @api:response 200:[]T returns all the {{.Names}}
func getall[T jmap.Foo, CHANGE jmap.Change, CHANGES jmap.Changes[T], RESP jmap.GetResponse[T]]( //NOSONAR
o ObjectType[T, CHANGE, CHANGES],
w http.ResponseWriter, r *http.Request,