Fix typo
This commit is contained in:
@@ -302,7 +302,7 @@ also checks if the profile is creator, then it's better to rename `creator_id` p
|
|||||||
```python3
|
```python3
|
||||||
# src.profiles.dependencies
|
# src.profiles.dependencies
|
||||||
async def valid_profile_id(profile_id: UUID4) -> Mapping:
|
async def valid_profile_id(profile_id: UUID4) -> Mapping:
|
||||||
profile = await service.get_by_id(post_id)
|
profile = await service.get_by_id(profile_id)
|
||||||
if not profile:
|
if not profile:
|
||||||
raise ProfileNotFound()
|
raise ProfileNotFound()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user