patch
This commit is contained in:
parent
3fcb231b74
commit
2e20fb9557
@ -31,9 +31,8 @@ async def get_profiles_by_user_ids(user_ids: List[UUID], token: str, user_id: UU
|
|||||||
response = await client.post(
|
response = await client.post(
|
||||||
f"{settings.PROFILE_SERVICE}/user_ids/internal",
|
f"{settings.PROFILE_SERVICE}/user_ids/internal",
|
||||||
headers={"Authorization": f"Bearer {token}"},
|
headers={"Authorization": f"Bearer {token}"},
|
||||||
json={"user_ids": user_ids,
|
json={"user_ids": [str(uid) for uid in user_ids],
|
||||||
"user_id": user_id}
|
"user_id": str(user_id)})
|
||||||
)
|
|
||||||
|
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user