Lint format files. Updated rng function.

This commit is contained in:
Mike Cao committed 2026-06-02 22:35:07 -07:00
1 parent 5bf1792b38
commit 306ca4a435
144 files changed
+962 -626

No files matched your search

+5 -1
View File
@@ -8,7 +8,11 @@ export async function canViewLink({ user, shareToken }: Auth, linkId: string) {
return true;
}
if (shareToken?.linkId === linkId || shareToken?.websiteId === linkId || shareToken?.linkIds?.includes(linkId)) {
if (
shareToken?.linkId === linkId ||
shareToken?.websiteId === linkId ||
shareToken?.linkIds?.includes(linkId)
) {
return true;
}
+5 -1
View File
@@ -8,7 +8,11 @@ export async function canViewPixel({ user, shareToken }: Auth, pixelId: string)
return true;
}
if (shareToken?.pixelId === pixelId || shareToken?.websiteId === pixelId || shareToken?.pixelIds?.includes(pixelId)) {
if (
shareToken?.pixelId === pixelId ||
shareToken?.websiteId === pixelId ||
shareToken?.pixelIds?.includes(pixelId)
) {
return true;
}