mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
9 lines
512 B
JavaScript
9 lines
512 B
JavaScript
import { fetchSafe } from '/server/lib/ssrfGuard';
|
|
const { deliverStoredWebhookHttp } = require('/server/lib/syncWebhookHttp');
|
|
|
|
// Internal adapter. Storage/access/response-effect adapters belong to the
|
|
// durable operation; they cannot replace the application's network guard.
|
|
export function sendStoredWebhook({ item, responses, assertCurrent, assertTarget, completeResponse }) {
|
|
return deliverStoredWebhookHttp({ item, responses, assertCurrent, assertTarget, completeResponse, requestHttp: fetchSafe });
|
|
}
|