From 7ba1d5a717bac172ed879d44c6c49eb64a5ddd7b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 2 Dec 2025 23:02:38 +0300 Subject: [PATCH] add push service --- common_lib/services/chat_internal.py | 4 +++- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common_lib/services/chat_internal.py b/common_lib/services/chat_internal.py index be6a7e0..890bf6c 100644 --- a/common_lib/services/chat_internal.py +++ b/common_lib/services/chat_internal.py @@ -9,6 +9,7 @@ async def send_internal_message( sender: str, user_id: UUID, content: str, + broker_customization_msg: str, with_httpexception = False ) -> dict: try: @@ -16,7 +17,8 @@ async def send_internal_message( f"{settings.CHAT_PRIVATE_SERVICE}/internal/send", json={"sender": str(sender), "user_id": str(user_id), - "content": str(content) + "content": str(content), + "broker_customization_msg": str(broker_customization_msg), }) if response.status_code != 200: diff --git a/pyproject.toml b/pyproject.toml index 0427e0f..ab8bc27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "common-lib" -version = "0.0.37" +version = "0.0.38" description = "Библиотека общих компонентов для микросервисов yobble" authors = [{ name = "cheykrym", email = "you@example.com" }] license = "MIT"