Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

242 B
Raw Blame
import type { WebhookNotifier } from './WebhookNotifier';

export const validateWebhookNotifier = (isCreate: boolean, notifier: WebhookNotifier): boolean => {
  if (isCreate && !notifier.webhookUrl) {
    return false;
  }

  return true;
};