change a url

This commit is contained in:
Mary Hipp 2023-12-07 13:26:18 -05:00
parent db58efbe65
commit 4986cef86d

View File

@ -130,7 +130,7 @@ export const imagesApi = api.injectEndpoints({
}),
deleteImage: build.mutation<void, ImageDTO>({
query: ({ image_name }) => ({
url: `images/i/${image_name}`,
url: `imagesv2/i/${image_name}`,
method: 'DELETE',
}),
async onQueryStarted(imageDTO, { dispatch, queryFulfilled }) {