MCPcopy Create free account
hub / github.com/dailydotdev/apps / optOutGamification

Function optOutGamification

packages/shared/src/graphql/settings.ts:132–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130// Founders signing up for a company page come for distribution, not for
131// streaks and quests. They can turn it all back on in their settings.
132export const optOutGamification = (): Promise<unknown> =>
133 gqlClient.request(UPDATE_USER_SETTINGS_MUTATION, {
134 data: {
135 optOutReadingStreak: true,
136 optOutLevelSystem: true,
137 optOutQuestSystem: true,
138 optOutAchievements: true,
139 },
140 });

Callers 1

onProfileSuccessFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected