From c21318d2223e2a4ec84ae640bee06a43a0c5ba96 Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Fri, 1 May 2020 19:37:09 -0500 Subject: [PATCH] simplify examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce28420..3614c96 100644 --- a/README.md +++ b/README.md @@ -325,7 +325,7 @@ setTimeout(function (){ // And since we aren't using try...catch, it will crash the process. JSON.parse('who0ps"thisis totally not valid js{}n'); - return res.ok(); + //… }, 50); ``` @@ -354,7 +354,7 @@ setTimeout(function (){ JSON.parse('who0ps"thisis totally not valid js{}n'); } catch (e) { return res.serverError(e); } - return res.ok(); + //… }, 50); ```