fix: totp and telegram codes is optional
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lendry-erp/contracts",
|
"name": "@lendry-erp/contracts",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "Protobuf definitions and generated TypeScript types",
|
"description": "Protobuf definitions and generated TypeScript types",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ message RegisterResponse {
|
|||||||
|
|
||||||
message Verify2FaRequest {
|
message Verify2FaRequest {
|
||||||
string temp_token = 1;
|
string temp_token = 1;
|
||||||
string totp_code = 2;
|
optional string totp_code = 2;
|
||||||
string telegram_code = 3;
|
optional string telegram_code = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Verify2FaResponse {
|
message Verify2FaResponse {
|
||||||
|
|||||||
Reference in New Issue
Block a user