patch
This commit is contained in:
parent
fdecfb35ad
commit
3fcb231b74
@ -25,7 +25,7 @@ async def get_profile_by_user_id(user_id: UUID, token: str) -> dict:
|
|||||||
raise HTTPException(status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail=f"profile_service unreachable: {str(e)}")
|
raise HTTPException(status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail=f"profile_service unreachable: {str(e)}")
|
||||||
|
|
||||||
|
|
||||||
async def get_profiles_by_user_ids(user_ids: List[UUID], token: str, user_id: str) -> Dict[str, dict]:
|
async def get_profiles_by_user_ids(user_ids: List[UUID], token: str, user_id: UUID) -> Dict[str, dict]:
|
||||||
try:
|
try:
|
||||||
async with httpx.AsyncClient(timeout=5.0, verify=False) as client:
|
async with httpx.AsyncClient(timeout=5.0, verify=False) as client:
|
||||||
response = await client.post(
|
response = await client.post(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user