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

Function updateRemoteSettingsFn

packages/shared/src/contexts/SettingsContext.tsx:487–494  ·  view source on GitHub ↗
(
    newSettings: Partial<RemoteSettings>,
    bootUserId?: string,
  )

Source from the content-addressed store, hash-verified

485 }, []);
486
487 const updateRemoteSettingsFn = async (
488 newSettings: Partial<RemoteSettings>,
489 bootUserId?: string,
490 ): Promise<void> => {
491 if (userId || bootUserId) {
492 await updateRemoteSettings(withoutClientOnlyFlags(newSettings));
493 }
494 };
495
496 const setSettings = async (
497 newSettings: Partial<RemoteSettings>,

Callers 3

setSettingsFunction · 0.85
syncSettingsFunction · 0.85
SettingsContextProviderFunction · 0.85

Calls 1

withoutClientOnlyFlagsFunction · 0.85

Tested by

no test coverage detected