Skip to content

Commit bf82d0a

Browse files
committed
Merge pull request neo4j#33 from pontusmelke/1.0-typos
Fixed typos
2 parents b1b0782 + c28ce13 commit bf82d0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/v1/result-summary.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class StatementStatistics {
114114
constructor(statistics) {
115115
this._stats = {
116116
nodesCreated: 0,
117-
nodesDelete: 0,
117+
nodesDeleted: 0,
118118
relationshipsCreated: 0,
119119
relationshipsDeleted: 0,
120120
propertiesSet: 0,
@@ -124,11 +124,11 @@ class StatementStatistics {
124124
indexesRemoved: 0,
125125
constraintsAdded: 0,
126126
constraintsRemoved: 0
127-
}
127+
};
128128
Object.keys(statistics).forEach((index) => {
129-
let val = isInt(statistics[index]) ? statistics[index].toInt() : statistics[index];
130129
//To camelCase
131-
this._stats[index.replace(/(\-\w)/g, (m) => m[1].toUpperCase())] = val;
130+
this._stats[index.replace(/(\-\w)/g, (m) => m[1].toUpperCase())] =
131+
isInt(statistics[index]) ? statistics[index].toInt() : statistics[index];
132132
});
133133
}
134134

@@ -233,7 +233,7 @@ class Notification {
233233
constructor(notification) {
234234
this.code = notification.code;
235235
this.title = notification.title;
236-
this.description = notification.desciption;
236+
this.description = notification.description;
237237
this.position = this._constructPosition(notification.position);
238238
}
239239

0 commit comments

Comments
 (0)