dnr-daemon
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "dnr-daemon", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "dnr service that downloads dnr flows, parse them based on constraints and redeploy to vanilla node-red", | ||
@@ -5,0 +5,0 @@ "main": "build/src/module.js", |
@@ -35,5 +35,3 @@ import request = require('request-promise-native'); | ||
opt.uri = FlowsAPI.NODES_RESOURCE | ||
opt.headers = { | ||
'accept': 'application/json' | ||
} | ||
opt.headers['accept']= 'application/json' | ||
return new Promise<string>(function(f,r){ | ||
@@ -40,0 +38,0 @@ request(opt) |
1158819
3993