Skip to content

Commit

Permalink
Make _delete use passed-in URL rather than hardcoded one
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrss committed Jun 6, 2021
1 parent a75514b commit c90f238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botto/motto_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ async def run_delete(session_to_use: ClientSession):
(
base_url
if len(records_to_delete) > 1
else self.motto_url + f"/{records_to_delete[0]}"
else base_url + f"/{records_to_delete[0]}"
),
params=(
{"records": records_to_delete}
Expand Down

0 comments on commit c90f238

Please sign in to comment.