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

This commit is contained in:
Pascal Bleser committed 2026-07-09 14:30:13 +02:00
1 parent fa23f5a55c
commit a79e1fd908
1 file changed
+1 -1
@@ -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,