Skip to content

Commit f765b10

Browse files
correct type and filter
1 parent af9a3f2 commit f765b10

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: @vates/types/src/xo.mts

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ type BaseXoVm = BaseXapiXo & {
117117
export type XoGroup = {
118118
id: Branded<'group'>
119119
name: string
120+
provider?: string
121+
providerGroupId?: string
120122
users: XoUser['id'][]
121123
}
122124

Diff for: @xen-orchestra/rest-api/src/groups/group.controller.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class GroupController extends XoController<XoGroup> {
2424

2525
/**
2626
* @example fields "name,id"
27-
* @example filter "users:/^722d17b9-699b-49d2-8193-be1ac573d3de/"
27+
* @example filter "users:/^<user-id>/"
2828
* @example limit 42
2929
*/
3030
@Example(groupIds)

0 commit comments

Comments
 (0)