mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-09 19:43:40 +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 (cherry picked from commit fd70a7de5fdb0c0f315847f0ed0be7bb283ce9f6)
This commit is contained in:
parent
8f929c5fec
commit
21baec924a
@ -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…
x
Reference in New Issue
Block a user