MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / refreshProfile

Function refreshProfile

deployments/desktop/static/app.js:701–705  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

699}
700
701async function refreshProfile() {
702 const userId = ensureUser();
703 const data = await api(`/api/profile?user_id=${encodeURIComponent(userId)}`);
704 renderProfile(data.profile || data.raw || {});
705}
706
707function renderPush(push, options = {}) {
708 const preserveSelection = Boolean(options.preserveSelection);

Callers 5

updateRoleFunction · 0.85
submitFunction · 0.85
updateMustReadFunction · 0.85
bindEventsFunction · 0.85
bootFunction · 0.85

Calls 3

ensureUserFunction · 0.85
renderProfileFunction · 0.85
apiFunction · 0.70

Tested by

no test coverage detected