From 7c7c165f9796568e551568d4f4af3152b2801cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Fri, 3 Apr 2026 21:25:34 +0300 Subject: [PATCH] fix: remove access token from requests change passports --- package.json | 2 +- proto/account.proto | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 26bd715..8a45354 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.41", + "version": "1.0.42", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js", diff --git a/proto/account.proto b/proto/account.proto index 4c1fac8..a696652 100644 --- a/proto/account.proto +++ b/proto/account.proto @@ -40,7 +40,6 @@ message GetAccountResponse { message ChangePasswordRequest { string user_id = 1; - string access_token = 2; string old_password = 3; string new_password = 4; optional string code = 5; @@ -54,7 +53,6 @@ message ChangePasswordResponse { message SetPinRequest { string user_id = 1; - string access_token = 2; string pin = 3; } @@ -64,7 +62,7 @@ message SetPinResponse { } message UnlockPinRequest { - string access_token = 1; + string user_id = 1; string pin = 2; } @@ -86,7 +84,6 @@ message GetPinStatusResponse { message RemovePinRequest { string pin = 1; string user_id = 2; - string access_token = 3; } message RemovePinResponse { bool success = 1;