mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +00:00
fix(api): map REST request body in user invite requests (#9054)
# Which Problems Are Solved The `CreateInviteCode` and `VerifyInviteCode` methods missed the body mapping. # How the Problems Are Solved Added the mapping. # Additional Changes None # Additional Context Noticed during internal login UI tests using REST
This commit is contained in:
parent
40fedace3c
commit
fd70a7de5f
@ -1091,6 +1091,7 @@ service UserService {
|
||||
rpc CreateInviteCode (CreateInviteCodeRequest) returns (CreateInviteCodeResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/users/{user_id}/invite_code"
|
||||
body: "*"
|
||||
};
|
||||
|
||||
option (zitadel.protoc_gen_zitadel.v2.options) = {
|
||||
@ -1140,6 +1141,7 @@ service UserService {
|
||||
rpc VerifyInviteCode (VerifyInviteCodeRequest) returns (VerifyInviteCodeResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/users/{user_id}/invite_code/verify"
|
||||
body: "*"
|
||||
};
|
||||
|
||||
option (zitadel.protoc_gen_zitadel.v2.options) = {
|
||||
|
Loading…
Reference in New Issue
Block a user