X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Froutes.js;h=06ee5da79960619b6637ffb55f84907e546e2463;hp=f9d6ce7339ca65d2dac415772941a390b6dfefff;hb=2175b5914c0f58dc1c681ba53734eb92ff1ff138;hpb=1ac978f5312c79761f1d36f25a2e407ffd33c13c 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) {