Skip to content

Commit

Permalink
escalate if no license is given
Browse files Browse the repository at this point in the history
  • Loading branch information
StiftungAusNachlass committed Dec 21, 2023
1 parent a38239a commit 3658fd0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/extension/monitoring-endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,12 @@ process.stdin.on('end', () => {
if (timeDifference < threeWeeksInMilliseconds) {
escalateValidation = true; // Der Zeitstempel liegt weniger als drei Wochen in der Zukunft
}

// of no license at all
if (result.license.licenseValidTo == '-' || result.license.licenseCreatedAt == '-') {
escalateValidation = true;
}

result.license.escalate = escalateValidation;

// shell the license-dates be echoed?
Expand Down

0 comments on commit 3658fd0

Please sign in to comment.