From 07ce12f8f0d8051b8fa3144cdf5ff45ad3052477 Mon Sep 17 00:00:00 2001 From: "kari.glover" Date: Thu, 11 Jan 2024 09:59:23 -0800 Subject: [PATCH] Check for undefined --- src/main/server/adapter/ceasn/ceasn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/server/adapter/ceasn/ceasn.js b/src/main/server/adapter/ceasn/ceasn.js index 3e6a05a73..60b6d13f3 100644 --- a/src/main/server/adapter/ceasn/ceasn.js +++ b/src/main/server/adapter/ceasn/ceasn.js @@ -31,7 +31,7 @@ let UUID = require('pure-uuid'); async function ceasnExportUriTransform(uri, frameworkUri) { - if (ceasnExportUriPrefix == null) + if (ceasnExportUriPrefix == null || !uri) return uri; if (uri.startsWith(ceasnExportUriPrefix)) return uri;