Skip to content

Commit a141d1c

Browse files
committed
Simplify script
IMPORTANT: Merge after dubinc/dub#1986 is shipped
1 parent 129e86e commit a141d1c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/script/src/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,6 @@
146146
);
147147
return;
148148
}
149-
150-
if (res.status === 204) {
151-
console.warn(
152-
`[Dub Analytics] Link does not exist for identifier: ${identifier}. Click not tracked.`,
153-
);
154-
return;
155-
}
156-
157149
const { clickId } = await res.json(); // Response: { clickId: string }
158150
checkCookieAndSet(clickId);
159151
});

0 commit comments

Comments
 (0)