We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d8b7f7 commit 9d02798Copy full SHA for 9d02798
1 file changed
src/modules/entities.ts
@@ -50,9 +50,9 @@ function createEntityHandler(
50
): EntityHandler {
51
const baseURL = `/apps/${appId}/entities/${entityName}`;
52
const isDevMode = typeof window !== "undefined"
53
- ? new URLSearchParams(window.location.search).get("use_dev_table") === "true"
+ ? new URLSearchParams(window.location.search).get("use_staging_db") === "true"
54
: false;
55
- const headers = { "X-Dev-Mode": String(isDevMode) };
+ const headers = { "X-Use-Staging-DB": String(isDevMode) };
56
57
return {
58
// List entities with optional pagination and sorting
0 commit comments