diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-28 18:07:22 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-28 18:07:22 -0700 |
commit | 1d2ffb8a2b6af752b6fd091e8e59682625c2b495 (patch) | |
tree | 97ddc1a0318d280cd6650f59d638e027d213263e /client/src/mocks | |
parent | 096a08708e2310becba56a237ef63b5cf6e3c4c4 (diff) |
Make guests endpoint plural
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', |