We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4cd3f commit 5cfc7dfCopy full SHA for 5cfc7df
apps/webapp/app/routes/api.v1.plain.customer-cards.ts
@@ -23,7 +23,7 @@ const PlainCustomerCardRequestSchema = z.object({
23
24
// Authenticate the request from Plain
25
function authenticatePlainRequest(request: Request): boolean {
26
- const authHeader = request.headers.get("PLAIN_AUTH");
+ const authHeader = request.headers.get("Authorization");
27
const expectedSecret = env.PLAIN_CUSTOMER_CARDS_SECRET;
28
if (!expectedSecret) {
29
logger.warn("PLAIN_CUSTOMER_CARDS_SECRET not configured");
0 commit comments