Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit 461f0f5

Browse files
author
Paul Korzhyk
committed
Minor fix for legacy Api
1 parent 7aeebad commit 461f0f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clientStub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class DgraphClientStub {
285285
public abort(ctx: TxnContext): Promise<TxnContext> {
286286
const url = !this.legacyApi
287287
? `commit?startTs=${ctx.start_ts}&abort=true`
288-
: `/abort/${ctx.start_ts}`;
288+
: `abort/${ctx.start_ts}`;
289289

290290
return this.callAPI(url, { ...this.options, method: "POST" });
291291
}

0 commit comments

Comments
 (0)