update URL for bulk download placeholder

This commit is contained in:
Mary Hipp 2023-11-15 08:49:15 -05:00
parent fa031156ab
commit 0acf800015
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ class ImagesDownloaded(BaseModel):
)
@images_router.post("/download", operation_id="download_images_from_list", response_model=ImagesDownloaded)
@images_router.post("/export", operation_id="download_images_from_list", response_model=ImagesDownloaded)
async def download_images_from_list(
image_names: list[str] = Body(description="The list of names of images to download", embed=True),
board_id: Optional[str] = Body(

View File

@ -1543,7 +1543,7 @@ export const imagesApi = api.injectEndpoints({
components['schemas']['Body_download_images_from_list']
>({
query: ({ image_names, board_id }) => ({
url: `images/download`,
url: `images/export`,
method: 'POST',
body: {
image_names,