Skip to content

Commit

Permalink
edgeId as object to string value fix for different db engines
Browse files Browse the repository at this point in the history
  • Loading branch information
umeshjay committed Jan 7, 2020
1 parent 0dbd900 commit a90f713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy-server.js
Expand Up @@ -25,7 +25,7 @@ function mapToObj(inputMap) {
function edgesToJson(edgeList) {
return edgeList.map(
edge => ({
id: edge.get('id'),
id: typeof edge.get('id') !== "string" ? JSON.stringify(edge.get('id')) : edge.get('id'),
from: edge.get('from'),
to: edge.get('to'),
label: edge.get('label'),
Expand Down

0 comments on commit a90f713

Please sign in to comment.