Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+3
-3
@@ -1,6 +1,6 @@
|
||||
import type { LoaderFunctionArgs } from "react-router";
|
||||
|
||||
import { loadWebConfig } from "@toolctrl/config";
|
||||
import { loadWebConfig } from "@hivegrid/config";
|
||||
import { getTranslations } from "~/locale/i18next.server";
|
||||
import { apiPath } from "~/utils/app/CanonicalUrlUtils";
|
||||
import { requireAuth } from "~/utils/loaders.middleware";
|
||||
@@ -34,8 +34,8 @@ export const loader = async ({ request, params }: LoaderFunctionArgs) => {
|
||||
const response = await fetch(apiUrl, {
|
||||
headers: {
|
||||
authorization: `Bearer ${apiAccessToken}`,
|
||||
"x-toolctrl-tenant-id": tenantId,
|
||||
"x-toolctrl-user-id": userInfo.userId,
|
||||
"x-hivegrid-tenant-id": tenantId,
|
||||
"x-hivegrid-user-id": userInfo.userId,
|
||||
...(request.headers.get("last-event-id") ? { "last-event-id": request.headers.get("last-event-id") as string } : {}),
|
||||
...(request.headers.get("x-request-id") ? { "x-request-id": request.headers.get("x-request-id") as string } : {}),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user