Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

199 B
Raw Blame
import type { Webhook } from './webhooks.types';
import { omit } from '../shared/objects';

export function formatWebhookForApi<T extends Webhook>(webhook: T) {
  return omit(webhook, ['secret']);
}