Skip to content

Commit 7f8758e

Browse files
committed
fix: set api key header name
1 parent a0bb727 commit 7f8758e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export async function newApp({
163163
session: false
164164
}),
165165
xUserMiddleware: getAuthenticatedXUserMiddleware(
166-
"x-user" as NonEmptyString,
166+
"x-appbackend-api-key" as NonEmptyString,
167167
APP_BACKEND_PRIMARY_KEY,
168168
APP_BACKEND_SECONDARY_KEY
169169
)

0 commit comments

Comments
 (0)