Skip to content

Commit

Permalink
fix: remove extra slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Avram Tudor committed Oct 15, 2024
1 parent 90c9bf2 commit 38e7c9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion skynet/modules/ttt/summaries/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import random

from fastapi import Request
from fastapi_versionizer.versionizer import Versionizer

Expand Down Expand Up @@ -29,8 +30,9 @@ async def echo_requests(request: Request, call_next):

if counter <= echo_requests_percent:
try:
breakpoint()
await http_client.post(
f'{echo_requests_base_url}/{request.url.path}',
f'{echo_requests_base_url}{request.url.path}',
headers={'Authorization': f'Bearer {echo_requests_token}'},
json=await request.json(),
)
Expand Down

0 comments on commit 38e7c9a

Please sign in to comment.