diff options
Diffstat (limited to 'client/src/mocks')
-rw-r--r-- | client/src/mocks/handlers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/mocks/handlers.ts b/client/src/mocks/handlers.ts index 8dc92b7..0e882ee 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('/guest/login', () => { + http.post('/guests/login', () => { return HttpResponse.json({ guest: { id: 1, @@ -17,7 +17,7 @@ export const handlers = [ token, }); }), - http.patch('/guest/1', () => { + http.patch('/guests/1', () => { return HttpResponse.json({ id: 1, firstName: 'Michael', |