summaryrefslogtreecommitdiff
path: root/client/src/mocks
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-07-06 15:24:05 -0700
committerMichael Hunteman <michael@huntm.net>2024-07-06 15:24:43 -0700
commitbacefa8db406aa188d27670649bb57f12a3b4c47 (patch)
treea6fb8996b940b6016d314d29fdd265ce6d74275e /client/src/mocks
parentb9b8099da1a098300d11e0f479d56e24e363e076 (diff)
Rename to guest
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',