From 6d3e7ab0d48f613e4cc316152912dd4cefc5b523 Mon Sep 17 00:00:00 2001 From: David Middlecamp Date: Mon, 14 Jul 2014 16:26:33 -0500 Subject: [PATCH] stub in claim core endpoint so spark setup works as expected --- js/package.json | 2 +- js/views/api_v1.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/package.json b/js/package.json index f6568015..45683544 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "spark-server", - "version": "0.1.0", + "version": "0.1.1", "license": "AGPL-3.0", "repository": { "type": "git", diff --git a/js/views/api_v1.js b/js/views/api_v1.js index 5a64dd4f..aefc1d84 100644 --- a/js/views/api_v1.js +++ b/js/views/api_v1.js @@ -62,7 +62,7 @@ var Api = { app.post('/v1/provisioning/:coreid', Api.provision_core); //app.delete('/v1/devices/:coreid', Api.release_device); - //app.post('/v1/devices', Api.claim_device); + app.post('/v1/devices', Api.claim_device); },