MCPcopy Index your code
hub / github.com/dataease/SQLBot / parsrCertificate

Function parsrCertificate

frontend/public/assistant.js:490–497  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

488 return url.searchParams.get(key)
489 }
490 function parsrCertificate(config) {
491 const certificateList = config.certificate
492 if (!certificateList?.length) {
493 return null
494 }
495 const list = certificateList.map((item) => formatCertificate(item)).filter((item) => !!item)
496 return JSON.stringify(list)
497 }
498 function isEmpty(obj) {
499 return obj == null || typeof obj == 'undefined'
500 }

Callers 1

registerMessageEventFunction · 0.85

Calls 3

formatCertificateFunction · 0.85
filterMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected