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

36const USER_CHANGED_EVENT = "opensist-user-changed";
37
38function notifyUserChanged() {
39 if (typeof window !== "undefined") {
40 window.dispatchEvent(new Event(USER_CHANGED_EVENT));
41 }
42}
43
44async function authRequest(path, body) {
45 return fetch(path, {

Callers 2

setUserInfoFunction · 0.85
logoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected