nestjs-supabase-webhooks
Advanced tools
@@ -31,2 +31,3 @@ "use strict"; | ||
const secretRequestHeader = request.headers[this.supabaseWebhookConfig.webhookConfig.headerName]; | ||
console.log(secretRequestHeader); | ||
const isAuthentic = secretRequestHeader === this.supabaseWebhookConfig.webhookConfig.secret; | ||
@@ -33,0 +34,0 @@ if (!isAuthentic) { |
{ | ||
"name": "nestjs-supabase-webhooks", | ||
"version": "1.0.2-next.10", | ||
"version": "1.0.2-next.11", | ||
"description": "NestJS module for Supabase Database Webhooks", | ||
@@ -5,0 +5,0 @@ "author": "“Valentin <valentin@whatdafox.com> (http://twitter.com/valentinprngd)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29515
0.29%324
0.31%