From 11d27550dd8488c67cd2cf36926d131e7ec82bee 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 23:36:58 +0300 Subject: [PATCH] fix: change access token to user id and session id for logaut other method --- package.json | 2 +- proto/auth.proto | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 65c6ed6..45409a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.43", + "version": "1.0.44", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js", diff --git a/proto/auth.proto b/proto/auth.proto index 8c9f0e0..9d76665 100644 --- a/proto/auth.proto +++ b/proto/auth.proto @@ -39,7 +39,8 @@ message RefreshResponse { } message LogoutRequest { - string access_token = 1; + string user_id = 1; + string session_id = 2; } message LogoutResponse {