From 6afdc5c6224d360d7ff1567c45f0725c5ec9d233 Mon Sep 17 00:00:00 2001 From: Sanjeet Uppal Date: Mon, 30 Oct 2017 10:59:03 -0700 Subject: [PATCH] Undo changes in create-code-shower --- packages/api-explorer-ui/src/lib/create-code-shower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-explorer-ui/src/lib/create-code-shower.js b/packages/api-explorer-ui/src/lib/create-code-shower.js index 4def88ccf..4ee87680c 100644 --- a/packages/api-explorer-ui/src/lib/create-code-shower.js +++ b/packages/api-explorer-ui/src/lib/create-code-shower.js @@ -1,5 +1,5 @@ module.exports = type => { - return function results(pathOperation) { + return pathOperation => { pathOperation._cache = pathOperation._cache || {}; if (pathOperation._cache[type]) return pathOperation._cache[type];