From 7e4f1c53e390c42f9dbc177ffdcae0371629cd15 Mon Sep 17 00:00:00 2001 From: armando Date: Tue, 26 Sep 2023 16:00:00 -0400 Subject: [PATCH] feat: Fix cache --- src/syncer/Controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/syncer/Controller.ts b/src/syncer/Controller.ts index c2dc462..119b10f 100644 --- a/src/syncer/Controller.ts +++ b/src/syncer/Controller.ts @@ -321,7 +321,9 @@ export class Controller { "sortBy=updatedAt", ]; - isBackfill && queries.push(`status=active`); + if (this._config.dataset === "asks" || this._config.dataset === "bids") { + isBackfill && queries.push(`status=active`); + } Object.keys(params).map((key) => queries.push(`${key}=${params[key]}`));