add push service

This commit is contained in:
unknown 2025-12-02 23:02:38 +03:00
parent 6515e96649
commit 7ba1d5a717
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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"