From 49a4096a1e2f55f98b63a6ecb5b6f94f1eb1b376 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 22 May 2018 18:51:07 +0200 Subject: [PATCH] Fixed reference in "app.post" command. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a9e30e7..2f8af9a 100644 --- a/index.js +++ b/index.js @@ -136,7 +136,7 @@ function createApp(context, app) { let src = req.body.src.trim(); if (src.length) { try { - let result = await context.evalInContext(req.body.src); + let result = await context.runInContext(req.body.src); res.send(util.inspect(result)); } catch (ex) {