mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-01 04:33:11 -04:00
groupware: fix getall template result type: []T instead of RESP
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user