MCPcopy Index your code
hub / github.com/coder/coder / userNotificationPreferences

Function userNotificationPreferences

site/src/api/queries/notifications.ts:17–22  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

15];
16
17export const userNotificationPreferences = (userId: string) => {
18 return {
19 queryKey: userNotificationPreferencesKey(userId),
20 queryFn: () => API.getUserNotificationPreferences(userId),
21 };
22};
23
24export const updateUserNotificationPreferences = (
25 userId: string,

Callers 2

TasksPageFunction · 0.90
NotificationsPageFunction · 0.90

Calls 1

Tested by

no test coverage detected