Skip to content

Commit

Permalink
Merge pull request #6 from mkorunoski/master
Browse files Browse the repository at this point in the history
Fix optional match processing issue
  • Loading branch information
webmaxru authored Jun 26, 2019
2 parents 8ce2722 + 078e68b commit 731ed6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/src/angular-neo4j.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ export class AngularNeo4jService {
}

private processRecord(record) {
if (!record) {
return null;
}

if (record.constructor.name === 'Integer') {
return record.toNumber();
}
Expand Down

0 comments on commit 731ed6a

Please sign in to comment.