This commit is contained in:
cheykrym 2026-03-29 02:19:18 +03:00
parent 55a40de83a
commit 72e2897084
2 changed files with 2 additions and 3 deletions

View File

@ -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)
})

View File

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