Removed trailing slash from API URLs

This commit is contained in:
Donkie
2023-05-18 14:33:57 +02:00
parent 646ade1721
commit d3703d0d92
3 changed files with 6 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ class FilamentUpdateParameters(FilamentParameters):
@router.get(
"/",
"",
name="Find filaments",
description="Get a list of filaments that matches the search query.",
response_model_exclude_none=True,
@@ -131,7 +131,7 @@ async def get(
@router.post(
"/",
"",
name="Add filament",
description="Add a new filament to the database.",
response_model_exclude_none=True,