Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Lanzilotto committed Dec 23, 2024
1 parent 1220400 commit 93535b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/navbar/navbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions src/app/services/sleekplan-api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
};

Expand Down

0 comments on commit 93535b0

Please sign in to comment.