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

Function syncSettings

packages/shared/src/contexts/SettingsContext.tsx:518–520  ·  view source on GitHub ↗
(bootUserId?: string)

Source from the content-addressed store, hash-verified

516 };
517
518 const syncSettings = async (bootUserId?: string) => {
519 await updateRemoteSettingsFn(settings, bootUserId);
520 };
521
522 // A graduated flag still lives in local storage for every existing user, so
523 // push it up once. The server value wins if there already is one. Dropping

Callers 1

onSocialCompletionFunction · 0.85

Calls 1

updateRemoteSettingsFnFunction · 0.85

Tested by

no test coverage detected