Skip to content

Commit 44a6968

Browse files
committed
Fix accidental querystring
1 parent fa9465b commit 44a6968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graph.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,14 @@ export class Graph {
218218
return res.body.graph;
219219
}
220220

221-
async create(properties: any = {}, waitForSync?: boolean) {
221+
async create(properties: any = {}, opts?: { waitForSync?: boolean }) {
222222
const res = await this._api.post(
223223
"/gharial",
224224
{
225225
...properties,
226226
name: this.name
227227
},
228-
{ waitForSync }
228+
opts
229229
);
230230
return res.body.graph;
231231
}

0 commit comments

Comments
 (0)