Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Jul 11, 2024
1 parent 8fcedd4 commit 511f354
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/lib/receptionist/getReceptionistData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import getBaseUrl from "@utils/getBaseUrl";
import { getSessionToken } from "../sessions/sessionUtils";

export default async function getReceptionistData() {
const session = await getSessionToken();
const session = getSessionToken();
const serverUrl = getBaseUrl();

const headers = {
Expand All @@ -13,6 +13,7 @@ export default async function getReceptionistData() {
try {
const res = await fetch(`${serverUrl}/api/receptionist`, {
headers,
cache: "no-cache",
});

if (!res.ok) {
Expand Down

0 comments on commit 511f354

Please sign in to comment.