Skip to content

Commit

Permalink
user endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
edalholt committed Dec 30, 2024
1 parent 7a64034 commit 73059e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/test/setup/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const assemblyByName = {
};

export const restHandlers = [
rest.get("http://localhost:3000/user/userData", (req, res, ctx) => {
rest.get("http://localhost:3000/user", (req, res, ctx) => {
return res(ctx.status(200), ctx.json(userData));
}),
rest.post("http://localhost:3000/votation/allVotations", (req, res, ctx) => {
Expand Down

0 comments on commit 73059e7

Please sign in to comment.