mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix(core): Declutter webhook insertion errors (#10650)
This commit is contained in:
@@ -93,7 +93,7 @@ export class WebhookService {
|
||||
async storeWebhook(webhook: WebhookEntity) {
|
||||
void this.cacheService.set(webhook.cacheKey, webhook);
|
||||
|
||||
return await this.webhookRepository.insert(webhook);
|
||||
await this.webhookRepository.upsert(webhook, ['method', 'webhookPath']);
|
||||
}
|
||||
|
||||
createWebhook(data: Partial<WebhookEntity>) {
|
||||
|
||||
Reference in New Issue
Block a user