From 72e2897084b35880ec2cdd1f7d050efdaa574dc1 Mon Sep 17 00:00:00 2001 From: cheykrym Date: Sun, 29 Mar 2026 02:19:18 +0300 Subject: [PATCH] fix --- common_lib/services/achievement_service.py | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common_lib/services/achievement_service.py b/common_lib/services/achievement_service.py index ff7e776..c7181c7 100644 --- a/common_lib/services/achievement_service.py +++ b/common_lib/services/achievement_service.py @@ -1,6 +1,5 @@ import asyncio import httpx -from uuid import UUID from fastapi import HTTPException, status from config import settings from common_lib.utils.http_client import client @@ -20,7 +19,7 @@ async def send_update_increment_to_achievement_service( response = await client.post( f"{settings.ACHIEVEMENT_SERVICE}/internal/progress-update", json={ - "user_id": UUID(user_id), + "user_id": str(user_id), "achievement_code": str(achievement_code), "increment": int(increment) }) diff --git a/pyproject.toml b/pyproject.toml index 9f5ef28..807fbee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "common-lib" -version = "0.0.50" +version = "0.0.51" description = "Библиотека общих компонентов для микросервисов yobble" authors = [{ name = "cheykrym", email = "you@example.com" }] license = "MIT"