MCPcopy Create free account
hub / github.com/error311/FileRise / normalizePortalSourceId

Function normalizePortalSourceId

public/js/adminPortals.js:589–591  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

587const __portalSubmissionsCache = {};
588
589function normalizePortalSourceId(id) {
590 return String(id || '').trim();
591}
592
593function getPortalSourceFallbackId() {
594 if (__portalSourcesById.local) return 'local';

Callers 5

loadPortalFolderListFunction · 0.85
loadClientPortalsListFunction · 0.85
getSourceIdFunction · 0.85
saveClientPortalsFromUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected