mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-02-14 15:31:40 -05:00
* feat: add generic webhook form & refactor each type in its own form * chore: pr feedbacks * fix(email-form): filter out empty emails
6 lines
200 B
TypeScript
6 lines
200 B
TypeScript
import type { NotificationConfig } from "~/schemas/notifications";
|
|
|
|
export const buildCustomShoutrrrUrl = (config: Extract<NotificationConfig, { type: "custom" }>) => {
|
|
return config.shoutrrrUrl;
|
|
};
|