From 3f5ba1035462659b78d6fd0dbbcd16650bdc09c0 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 16 Jan 2018 11:25:13 +0000 Subject: [PATCH] Fix up merge --- red/api/editor/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/red/api/editor/index.js b/red/api/editor/index.js index f7dbd970a..07d3f7e0a 100644 --- a/red/api/editor/index.js +++ b/red/api/editor/index.js @@ -61,7 +61,7 @@ module.exports = { } editorApp.get("/",ensureRuntimeStarted,ui.ensureSlash,ui.editor); - editorApp.get("/icons",needsPermission("nodes.read"),nodes.getIcons,errorHandler); + editorApp.get("/icons",needsPermission("nodes.read"),nodes.getIcons,apiUtil.errorHandler); editorApp.get("/icons/:module/:icon",ui.icon); editorApp.get("/icons/:scope/:module/:icon",ui.icon); @@ -78,7 +78,7 @@ module.exports = { // Locales var locales = require("./locales"); locales.init(runtime); - editorApp.get('/locales/nodes',locales.getAllNodes,apiUtil..errorHandler); + editorApp.get('/locales/nodes',locales.getAllNodes,apiUtil.errorHandler); editorApp.get(/locales\/(.+)\/?$/,locales.get,apiUtil.errorHandler); // Library