cloudapi: Fix the href of the delete response
Originally it was going to include /delete/ in the path. It was removed in the openapi yaml but not in the result from deleteComposeImpl.
This commit is contained in:
parent
07d34f339c
commit
60c5f10af8
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ func (h *apiHandlers) deleteComposeImpl(ctx echo.Context, jobId uuid.UUID) error
|
|||
}
|
||||
|
||||
return ctx.JSON(http.StatusOK, ComposeDeleteStatus{
|
||||
Href: fmt.Sprintf("/api/image-builder-composer/v2/composes/delete/%v", jobId),
|
||||
Href: fmt.Sprintf("/api/image-builder-composer/v2/composes/%v", jobId),
|
||||
Id: jobId.String(),
|
||||
Kind: "ComposeDeleteStatus",
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue