MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / notifyUserChanged

Function notifyUserChanged

src/Data/UserData.js:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36function notifyUserChanged() {
37 if (typeof window !== "undefined") {
38 window.dispatchEvent(new Event(USER_CHANGED_EVENT));
39 }
40}
41
42async function authRequest(path, body) {
43 return fetch(path, {
44 method: "POST",
45 credentials: "include",

Callers 2

setUserInfoFunction · 0.85
logoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected