From 93535b0bd01c0371bc4d551177504ae8ecc8cfaf Mon Sep 17 00:00:00 2001 From: Nicola Lanzilotto Date: Mon, 23 Dec 2024 10:53:34 +0100 Subject: [PATCH] Minor improvements --- src/app/components/navbar/navbar.component.ts | 2 +- src/app/services/sleekplan-api.service.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/navbar/navbar.component.ts b/src/app/components/navbar/navbar.component.ts index 0aa8ddc5e7cb..c55ac34aac3f 100755 --- a/src/app/components/navbar/navbar.component.ts +++ b/src/app/components/navbar/navbar.component.ts @@ -2073,7 +2073,7 @@ export class NavbarComponent extends PricingBaseComponent implements OnInit, Aft const firstKey = Object.keys(data)[0]; // Get the first key in the object const createdValue = data[firstKey].created; // Access the created property - this.logger.log('[NAVBAR] last changelog createdValue ', createdValue); + console.log('[NAVBAR] last changelog createdValue ', createdValue); const createdValueTimestamp = new Date(createdValue).getTime(); console.log('[NAVBAR] last changelog createdValue as Timestamp ', createdValueTimestamp); console.log('[NAVBAR] lastSeen ', lastSeen); diff --git a/src/app/services/sleekplan-api.service.ts b/src/app/services/sleekplan-api.service.ts index c92448271ee3..34bdd279cc96 100644 --- a/src/app/services/sleekplan-api.service.ts +++ b/src/app/services/sleekplan-api.service.ts @@ -21,6 +21,8 @@ export class SleekplanApiService { headers: new HttpHeaders({ Authorization: `Bearer ${this.SLEEKPLAN_API_KEY}`, 'Content-Type': 'application/json', + 'Cache-Control': 'no-cache', + 'Pragma': 'no-cache' }) };