Skip to content

Commit 0aaa83a

Browse files
authored
[#315] Fixes PathSegment constructor
- Fixes `rel` property name in setter of constructor
1 parent 74b7d84 commit 0aaa83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/graph-types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class PathSegment {
150150
*/
151151
constructor(start, rel, end) {
152152
this.start = start;
153-
this.relationship = rel;
153+
this.rel = rel;
154154
this.end = end;
155155
}
156156
}

0 commit comments

Comments
 (0)