fix: totp and telegram codes is optional
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lendry-erp/contracts",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "Protobuf definitions and generated TypeScript types",
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user