Skip to content

Commit

Permalink
Fixed endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
code-wolf-byte committed Dec 2, 2024
1 parent 4d71ab8 commit b28f0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/CreateUserPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const CreateUserPage = () => {
};

try {
const response = await apiClient.post('/createUser', data);
const response = await apiClient.post('users/createUser', data);
setSuccessMessage(response.data.message);
setEmail('');
setName('');
Expand Down

0 comments on commit b28f0c8

Please sign in to comment.