From 249f57dff09cd57a8ed12896828abd6ba3ab32cd Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Thu, 16 Nov 2023 17:39:19 -0500 Subject: [PATCH] Clarifying comment --- server/resolvers/Test/renderedUrlResolver.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/resolvers/Test/renderedUrlResolver.js b/server/resolvers/Test/renderedUrlResolver.js index e09180172..db576e3c6 100644 --- a/server/resolvers/Test/renderedUrlResolver.js +++ b/server/resolvers/Test/renderedUrlResolver.js @@ -9,7 +9,10 @@ const renderedUrl = (test, { atId }) => { ); } + // Support for V1 test format if (test.renderedUrls) return test.renderedUrls[atId ?? test.inferredAtId]; + + // Support for V2 test format return test.renderedUrl; };