We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ad643e commit b6cba92Copy full SHA for b6cba92
apps/web/lib/dub.ts
@@ -2,6 +2,7 @@ import { Dub } from "dub";
2
3
export const dub = new Dub();
4
5
+// fetch Dub customer using their external ID (ID in our database)
6
export const getDubCustomer = async (userId: string) => {
7
try {
8
return await dub.customers.get({
0 commit comments