Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

289 B
Raw Blame
import {
  WEBHOOK_SECRET_LENGTH,
  WEBHOOK_SECRET_PREFIX,
} from "@/lib/webhook/constants";
import { createToken } from "../api/oauth/utils";

export const createWebhookSecret = () => {
  return createToken({
    prefix: WEBHOOK_SECRET_PREFIX,
    length: WEBHOOK_SECRET_LENGTH,
  });
};