Skip to content

Commit 4d8b7f7

Browse files
committed
new header for entities prod or dev mode
1 parent b2daa49 commit 4d8b7f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/entities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function createEntityHandler(
5252
const isDevMode = typeof window !== "undefined"
5353
? new URLSearchParams(window.location.search).get("use_dev_table") === "true"
5454
: false;
55-
const headers = { "X-Use-Dev-Table": String(isDevMode) };
55+
const headers = { "X-Dev-Mode": String(isDevMode) };
5656

5757
return {
5858
// List entities with optional pagination and sorting

0 commit comments

Comments
 (0)