X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Froutes.js;fp=skyquake%2Fplugins%2Flaunchpad%2Froutes.js;h=06ee5da79960619b6637ffb55f84907e546e2463;hp=f9d6ce7339ca65d2dac415772941a390b6dfefff;hb=3b2e3af19404df4b6e0531af315263132d9d3879;hpb=0339c13297a60324fe136cdbc5e16e9c88b3754b diff --git a/skyquake/plugins/launchpad/routes.js b/skyquake/plugins/launchpad/routes.js index f9d6ce733..06ee5da79 100644 --- a/skyquake/plugins/launchpad/routes.js +++ b/skyquake/plugins/launchpad/routes.js @@ -1,5 +1,5 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -41,7 +41,7 @@ app.get('/api/nsr', cors(), function(req, res) { launchpadAPI['nsr'].delete(req).then(function(response) { utils.sendSuccessResponse(response, res); }, function(error) { - sendErrorResponse(error, res); + utils.sendErrorResponse(error, res); }); }); app.post('/api/nsr', cors(), function(req, res) {