From 0eab6dafa65c3eaf32f5ec38b9c4b76aba8137c0 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Mon, 29 Apr 2024 13:22:14 +0200 Subject: [PATCH] Add bust_cache querystring variable --- httpd-client/lib/fetcher.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/httpd-client/lib/fetcher.ts b/httpd-client/lib/fetcher.ts index 00ea991cf..7c8157065 100644 --- a/httpd-client/lib/fetcher.ts +++ b/httpd-client/lib/fetcher.ts @@ -91,7 +91,11 @@ export class Fetcher { params: FetchParams, schema: T, ): Promise> { - const response = await this.fetch(params); + const response = await this.fetch({ + ...params, + // eslint-disable-next-line @typescript-eslint/naming-convention + query: { ...params.query, bust_cache: "1" }, + }); if (!response.ok) { let responseBody = await response.text();