fix(omnl): coerce gazette documentId param for TypeScript build
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Has been cancelled
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 25s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-03 02:04:57 -07:00
parent 14238dc81d
commit abb63b4336

View File

@@ -105,7 +105,8 @@ router.get('/omnl/gazette/notices', (_req: Request, res: Response) => {
});
router.get('/omnl/gazette/notices/:documentId', (req: Request, res: Response) => {
const notice = getGuosmmNotice(req.params.documentId);
const documentId = String(req.params.documentId ?? '');
const notice = getGuosmmNotice(documentId);
if (!notice) {
res.status(404).json({ error: 'Notice not found' });
return;