Skip to content

Commit

Permalink
fix: use correct API endpoint for alteration creation for handler (#3087
Browse files Browse the repository at this point in the history
)

The previous version somehow worked in development environment even
though it shouldn't have, presumably because of the auth mock flag.
  • Loading branch information
EmiliaMakelaVincit committed Jun 13, 2024
1 parent 0302394 commit 8a4c215
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const useCreateApplicationQuery = ({
'createApplicationAlteration',
(alteration: ApplicationAlterationData) =>
handleResponse<ApplicationAlterationData>(
axios.post(BackendEndpoint.APPLICATION_ALTERATION, alteration)
axios.post(BackendEndpoint.HANDLER_APPLICATION_ALTERATION, alteration)
),
{
onSuccess,
Expand Down

0 comments on commit 8a4c215

Please sign in to comment.