Skip to content

Commit a24d0bf

Browse files
committed
fix: list user by inviter
1 parent 3b96528 commit a24d0bf

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

openapi.json

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"hash": "bd04223d5edb14e8cdb8d168c52fe946d2b5421b9931c69f593d20e433e882f6",
2+
"hash": "638ff830562977b943fea9b64b162bef085f27500e7f787feced48c9085a64f2",
33
"openapi": "3.0.0",
44
"paths": {
55
"/hello": {
@@ -2763,6 +2763,15 @@
27632763
}
27642764
}
27652765
},
2766+
{
2767+
"name": "inviter",
2768+
"required": false,
2769+
"in": "query",
2770+
"description": "邀请人",
2771+
"schema": {
2772+
"type": "string"
2773+
}
2774+
},
27662775
{
27672776
"name": "labels",
27682777
"required": false,
@@ -3003,6 +3012,15 @@
30033012
}
30043013
}
30053014
},
3015+
{
3016+
"name": "inviter",
3017+
"required": false,
3018+
"in": "query",
3019+
"description": "邀请人",
3020+
"schema": {
3021+
"type": "string"
3022+
}
3023+
},
30063024
{
30073025
"name": "labels",
30083026
"required": false,
@@ -3624,6 +3642,15 @@
36243642
}
36253643
}
36263644
},
3645+
{
3646+
"name": "inviter",
3647+
"required": false,
3648+
"in": "query",
3649+
"description": "邀请人",
3650+
"schema": {
3651+
"type": "string"
3652+
}
3653+
},
36273654
{
36283655
"name": "labels",
36293656
"required": false,

src/user/dto/list-users.dto.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export class ListUsersQuery extends IntersectionType(
1616
'active',
1717
'email',
1818
'groups',
19+
'inviter',
1920
'labels',
2021
'name',
2122
'phone',

0 commit comments

Comments
 (0)