fix: totp and telegram codes is optional

This commit is contained in:
Дмитрий
2026-03-25 12:17:56 +03:00
parent 1eb1d4b946
commit e55fd159cb
2 changed files with 3 additions and 3 deletions

View File

@@ -50,8 +50,8 @@ message RegisterResponse {
message Verify2FaRequest {
string temp_token = 1;
string totp_code = 2;
string telegram_code = 3;
optional string totp_code = 2;
optional string telegram_code = 3;
}
message Verify2FaResponse {