fix: add access token to responses
All checks were successful
Publish / Publish Job (push) Successful in 2m35s

This commit is contained in:
Дмитрий
2026-04-03 19:18:19 +03:00
parent b748c4e182
commit ceb5e914b2
3 changed files with 8 additions and 6 deletions

View File

@@ -40,9 +40,10 @@ message GetAccountResponse {
message ChangePasswordRequest {
string user_id = 1;
string old_password = 2;
string new_password = 3;
optional string code = 4;
string access_token = 2;
string old_password = 3;
string new_password = 4;
optional string code = 5;
}
message ChangePasswordResponse {
@@ -53,7 +54,8 @@ message ChangePasswordResponse {
message SetPinRequest {
string user_id = 1;
string pin = 2;
string access_token = 2;
string pin = 3;
}
message SetPinResponse {
@@ -84,6 +86,7 @@ message GetPinStatusResponse {
message RemovePinRequest {
string pin = 1;
string user_id = 2;
string access_token = 3;
}
message RemovePinResponse {
bool success = 1;

View File

@@ -24,7 +24,6 @@ message Verify2FaRequest {
message Verify2FaResponse {
string access_token = 1;
string refresh_token = 2;
string status = 3;
string message = 4;
repeated string reserve_codes = 5;