error-service
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "error-service", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "functions required to display errors", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,3 +26,3 @@ class ErrorQueries { | ||
WITH n1,n2,r | ||
RETURN type(r) | ||
RETURN type(r), startNode(r), endNode(r) | ||
`, | ||
@@ -29,0 +29,0 @@ params: function (fromFacebookId, fromFacebookAccessToken, toId) { |
@@ -29,5 +29,3 @@ const errorQueries = require("./../queries/ErrorQueries.js"); | ||
if (records[0]) { | ||
if (records[0][0] != null) { | ||
return records[0][0]; | ||
} | ||
return records[0]; | ||
} | ||
@@ -34,0 +32,0 @@ }) |
16248
462