Skip to content

Commit

Permalink
Clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Nov 16, 2023
1 parent 8e7b330 commit 249f57d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/resolvers/Test/renderedUrlResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 249f57d

Please sign in to comment.