File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -228,8 +228,8 @@ extend(EdgeCollection.prototype, {
228228 if ( ! callback ) callback = noop ;
229229 this . _api . post ( 'edge/' , data , {
230230 collection : this . name ,
231- from : fromId ,
232- to : toId
231+ from : this . _documentHandle ( fromId ) ,
232+ to : this . _documentHandle ( toId )
233233 } , function ( err , body ) {
234234 if ( err ) callback ( err ) ;
235235 else callback ( null , body ) ;
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ extend(EdgeCollection.prototype, {
129129 if ( ! callback ) callback = noop ;
130130 this . _gharial . post ( data , {
131131 collection : this . name ,
132- from : fromId ,
133- to : toId
132+ from : this . _documentHandle ( fromId ) ,
133+ to : this . _documentHandle ( toId )
134134 } , function ( err , body ) {
135135 if ( err ) callback ( err ) ;
136136 else callback ( null , body ) ;
You can’t perform that action at this time.
0 commit comments