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/slices | |
parent | 096a08708e2310becba56a237ef63b5cf6e3c4c4 (diff) |
Make guests endpoint plural
Diffstat (limited to 'client/src/slices')
-rw-r--r-- | client/src/slices/api/guestSlice.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/slices/api/guestSlice.ts b/client/src/slices/api/guestSlice.ts index 38deb9a..b009ff0 100644 --- a/client/src/slices/api/guestSlice.ts +++ b/client/src/slices/api/guestSlice.ts @@ -30,7 +30,7 @@ export interface PartyGuest { export const guestSlice = createApi({ reducerPath: 'guestApi', baseQuery: fetchBaseQuery({ - baseUrl: import.meta.env.VITE_BASE_URL + 'guest/', + baseUrl: import.meta.env.VITE_BASE_URL + 'guests/', prepareHeaders: (headers, { getState }) => { const token = (getState() as RootState).guest.token; if (token) { |