MCPcopy
hub / github.com/gitify-app/gitify / generateNotificationReferrerId

Function generateNotificationReferrerId

src/renderer/utils/notifications/url.ts:7–12  ·  view source on GitHub ↗
(
  notification: GitifyNotification,
)

Source from the content-addressed store, hash-verified

5import { createNotificationHandler } from './handlers';
6
7export function generateNotificationReferrerId(
8 notification: GitifyNotification,
9): string {
10 const raw = `018:NotificationThread${notification.id}:${notification.account.user?.id}`;
11 return btoa(raw);
12}
13
14export async function generateGitHubWebUrl(
15 notification: GitifyNotification,

Callers 2

url.test.tsFile · 0.90
generateGitHubWebUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected