chore(server): add logging for webhook url in invoice proxy

This commit is contained in:
Michael committed 2026-01-13 16:41:47 +01:00
1 parent 65eb74a96e
commit 443093573a
1 file changed
+4
+4
View File
@@ -904,6 +904,10 @@ export async function registerRoutes(app: Express): Promise<Server> {
formData.append('blNumber', parts.blNumber || ''); formData.append('blNumber', parts.blNumber || '');
formData.append('type', parts.type || 'Facture'); formData.append('type', parts.type || 'Facture');
console.log('🔗 INVOICE PROXY: Calling webhook URL:', parts.webhookUrl);
const response = await fetch(parts.webhookUrl, {
const response = await fetch(parts.webhookUrl, { const response = await fetch(parts.webhookUrl, {
method: 'POST', method: 'POST',
body: formData as any, body: formData as any,