Make most of the HTTP requests async
This commit is contained in:
parent
3e17e17e2a
commit
d371e3cd4f
12 changed files with 88 additions and 82 deletions
|
@ -604,7 +604,7 @@ async def post_remote_follow(
|
|||
if not profile.startswith("@"):
|
||||
profile = f"@{profile}"
|
||||
|
||||
remote_follow_template = get_remote_follow_template(profile)
|
||||
remote_follow_template = await get_remote_follow_template(profile)
|
||||
if not remote_follow_template:
|
||||
raise HTTPException(status_code=404)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue