From 36930c8cf27c79e4274ad09dbc5dad3afb7c3aec Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sat, 25 Jan 2020 18:30:36 -0800 Subject: [PATCH] update exports - Closes #915 --- pages/embed/[id].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/embed/[id].js b/pages/embed/[id].js index 8a3531d..278f43b 100644 --- a/pages/embed/[id].js +++ b/pages/embed/[id].js @@ -16,7 +16,7 @@ class EmbedIdPage extends React.PureComponent { if (parameter) { const host = req ? req.headers.host : undefined snippet = await api.snippet.get(parameter, { host }) - if (snippet && snippet.gist_id) { + if (snippet /* && snippet.gist_id */) { return { snippet } }