Skip to content

Fix promote and rollback commands to pass params as query string params#43

Open
mtandre wants to merge 1 commit intodrone:masterfrom
mtandre:promote-params
Open

Fix promote and rollback commands to pass params as query string params#43
mtandre wants to merge 1 commit intodrone:masterfrom
mtandre:promote-params

Conversation

@mtandre
Copy link

@mtandre mtandre commented Jan 26, 2024

This fixes a bug in which the params for the promote and rollback operations were being passed to the api via the body instead of as query string params.

Reviewing with the axios docs, it looks like for POST requests the params are passed as the 3rd argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant