Skip to content

Commit 8de2cb0

Browse files
Merge pull request #99 from daanrijpkemacb/cert-change
cert change - fix time check
2 parents f9c48da + 92cda81 commit 8de2cb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Validators/WebhookSignatureValidation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function getKeyFileName(): string
7676
$timestamp = '20250717';
7777
// 2025 certificate on testing & acceptance from July 17th, 8:30 CET time
7878
} elseif (($this->env === BLUEM_ENVIRONMENT_TESTING || $this->env === BLUEM_ENVIRONMENT_ACCEPTANCE)
79-
&& (($current_date === "2025-07-17" && $current_time >= "6:30") || $current_date > "2025-07-17")) {
79+
&& (($current_date === "2024-07-17" && $current_time >= "06:30") || $current_date > "2024-07-17")) {
8080
$timestamp = '20250717';
8181
} elseif ( ( $current_date === "2024-07-01" && $current_time >= "12:00" ) || $current_date > "2024-07-01") {
8282
$timestamp = '20240701';

0 commit comments

Comments
 (0)