Skip to content

Commit dc780e1

Browse files
committed
Implement GraphVertexCollection#_documentPath
1 parent 08e1f1a commit dc780e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/graph.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ class GraphVertexCollection extends BaseCollection {
1212
this._gharial = this._api.route(`gharial/${this.graph.name}/vertex/${this.name}`);
1313
}
1414

15+
_documentPath(documentHandle) {
16+
return `document/${this._documentHandle(documentHandle)}`;
17+
}
18+
1519
vertex(documentHandle, cb) {
1620
const {promise, callback} = this._connection.promisify(cb);
1721
this._gharial.get(

0 commit comments

Comments
 (0)