summaryrefslogtreecommitdiff
path: root/client/src/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/mocks')
-rw-r--r--client/src/mocks/handlers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/mocks/handlers.ts b/client/src/mocks/handlers.ts
index 0e882ee..8dc92b7 100644
--- a/client/src/mocks/handlers.ts
+++ b/client/src/mocks/handlers.ts
@@ -4,7 +4,7 @@ import { nanoid } from '@reduxjs/toolkit';
const token = nanoid();
export const handlers = [
- http.post('/guests/login', () => {
+ http.post('/guest/login', () => {
return HttpResponse.json({
guest: {
id: 1,
@@ -17,7 +17,7 @@ export const handlers = [
token,
});
}),
- http.patch('/guests/1', () => {
+ http.patch('/guest/1', () => {
return HttpResponse.json({
id: 1,
firstName: 'Michael',