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.

fix barrel import issue

Steven Teyaf49d9eab3fd
diff --git a/apps/web/lib/api/links/propagate-bulk-link-changes.ts b/apps/web/lib/api/links/propagate-bulk-link-changes.ts
index 8ca24f7474..c18217a8b5 100644
--- a/apps/web/lib/api/links/propagate-bulk-link-changes.ts
+++ b/apps/web/lib/api/links/propagate-bulk-link-changes.ts
@@ -1,4 +1,4 @@
-import { recordLink } from "@/lib/tinybird";
+import { recordLink } from "@/lib/tinybird/record-link";
import { linkCache } from "./cache";
import { ExpandedLink } from "./utils/transform-link";
diff --git a/apps/web/tests/setupTests.ts b/apps/web/tests/setupTests.ts
index f73f75a361..4d6837a326 100644
--- a/apps/web/tests/setupTests.ts
+++ b/apps/web/tests/setupTests.ts
@@ -20,6 +20,9 @@ vi.mock("@axiomhq/logging", () => ({
AxiomJSTransport: class {
constructor(_config: any) {}
},
+ ConsoleTransport: class {
+ constructor(_config?: any) {}
+ },
Logger: class {
constructor(_config: any) {}
log = vi.fn();