From 7ddc0b78b3bec17f4d615edcf717912b2742c14c Mon Sep 17 00:00:00 2001 From: Dominik Henneke Date: Wed, 12 Oct 2022 16:56:52 +0200 Subject: [PATCH] Correct the dir parameter of MSC3715 (#9391) --- src/stores/widgets/StopGapWidgetDriver.ts | 2 +- test/stores/widgets/StopGapWidgetDriver-test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/widgets/StopGapWidgetDriver.ts b/src/stores/widgets/StopGapWidgetDriver.ts index dd806dd6dd..752d6d57e6 100644 --- a/src/stores/widgets/StopGapWidgetDriver.ts +++ b/src/stores/widgets/StopGapWidgetDriver.ts @@ -449,7 +449,7 @@ export class StopGapWidgetDriver extends WidgetDriver { from, to, limit, - direction: dir, + dir, }); return { diff --git a/test/stores/widgets/StopGapWidgetDriver-test.ts b/test/stores/widgets/StopGapWidgetDriver-test.ts index 4e8764a854..d1816bdac3 100644 --- a/test/stores/widgets/StopGapWidgetDriver-test.ts +++ b/test/stores/widgets/StopGapWidgetDriver-test.ts @@ -266,7 +266,7 @@ describe("StopGapWidgetDriver", () => { limit: 25, from: 'from-token', to: 'to-token', - direction: Direction.Forward, + dir: Direction.Forward, }, ); });