mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update URL for bulk download placeholder
This commit is contained in:
parent
fa031156ab
commit
0acf800015
@ -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(
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user