Skip to content

Commit 2ef4092

Browse files
committed
Fix: Prevent unnecessary API calls against the Oh Dear API.
1 parent 5d727d8 commit 2ef4092

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 4.5.4 - 2025-06-02
8+
9+
### Fixed
10+
- Prevent unnecessary API calls against the Oh Dear API.
11+
712
## 4.5.3 - 2025-05-13
813

914
### Added

src/OhDear.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function getCpNavItem(): ?array
158158

159159
private function registerWidgets(): void
160160
{
161-
if (! $this->settings->validate()) {
161+
if (! $this->settings->hasApiCredentials()) {
162162
return;
163163
}
164164

0 commit comments

Comments
 (0)