From efc3cc24f4c63f15a127c9170e8bda828d04f608 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 20 Apr 2018 22:11:57 +0100 Subject: [PATCH] Fixup projects import after file move --- red/api/editor/projects.js | 4 ++-- red/runtime-api/auth.js | 19 ------------------- red/runtime-api/index.js | 1 - 3 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 red/runtime-api/auth.js diff --git a/red/api/editor/projects.js b/red/api/editor/projects.js index 508ca8e10..468580459 100644 --- a/red/api/editor/projects.js +++ b/red/api/editor/projects.js @@ -15,10 +15,10 @@ **/ var express = require("express"); -var apiUtils = require("../../util"); +var apiUtils = require("../util"); var runtimeAPI; -var needsPermission = require("../../auth").needsPermission; +var needsPermission = require("../auth").needsPermission; module.exports = { init: function(_runtimeAPI) { diff --git a/red/runtime-api/auth.js b/red/runtime-api/auth.js deleted file mode 100644 index 420fef54b..000000000 --- a/red/runtime-api/auth.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copyright JS Foundation and other contributors, http://js.foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - **/ - -/** - * @module red/auth - */ diff --git a/red/runtime-api/index.js b/red/runtime-api/index.js index dbf604a09..bdba811a6 100644 --- a/red/runtime-api/index.js +++ b/red/runtime-api/index.js @@ -35,7 +35,6 @@ var api = module.exports = { api.projects.init(runtime); }, - auth: require("./auth"), comms: require("./comms"), flows: require("./flows"), library: require("./library"),