Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

245 B
Raw Blame
import fetchMock from "fetch-mock";

import type { NotificationChannel } from "metabase-types/api";

export const setupWebhookChannelsEndpoint = (
  channels: NotificationChannel[] = [],
) => {
  fetchMock.get("path:/api/channel", channels);
};