diff --git a/common_lib/services/profile.py b/common_lib/services/profile.py index fb5285f..b6a4345 100644 --- a/common_lib/services/profile.py +++ b/common_lib/services/profile.py @@ -31,9 +31,8 @@ async def get_profiles_by_user_ids(user_ids: List[UUID], token: str, user_id: UU response = await client.post( f"{settings.PROFILE_SERVICE}/user_ids/internal", headers={"Authorization": f"Bearer {token}"}, - json={"user_ids": user_ids, - "user_id": user_id} - ) + json={"user_ids": [str(uid) for uid in user_ids], + "user_id": str(user_id)}) if response.status_code != 200: raise HTTPException(