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:
Livio Spring 2024-12-13 11:24:14 +01:00 committed by GitHub
parent 40fedace3c
commit fd70a7de5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) = {