File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ class StatementStatistics {
114
114
constructor ( statistics ) {
115
115
this . _stats = {
116
116
nodesCreated : 0 ,
117
- nodesDelete : 0 ,
117
+ nodesDeleted : 0 ,
118
118
relationshipsCreated : 0 ,
119
119
relationshipsDeleted : 0 ,
120
120
propertiesSet : 0 ,
@@ -124,11 +124,11 @@ class StatementStatistics {
124
124
indexesRemoved : 0 ,
125
125
constraintsAdded : 0 ,
126
126
constraintsRemoved : 0
127
- }
127
+ } ;
128
128
Object . keys ( statistics ) . forEach ( ( index ) => {
129
- let val = isInt ( statistics [ index ] ) ? statistics [ index ] . toInt ( ) : statistics [ index ] ;
130
129
//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 ] ;
132
132
} ) ;
133
133
}
134
134
@@ -233,7 +233,7 @@ class Notification {
233
233
constructor ( notification ) {
234
234
this . code = notification . code ;
235
235
this . title = notification . title ;
236
- this . description = notification . desciption ;
236
+ this . description = notification . description ;
237
237
this . position = this . _constructPosition ( notification . position ) ;
238
238
}
239
239
You can’t perform that action at this time.
0 commit comments