Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghu A committed Jan 2, 2024
1 parent afa5654 commit 200d4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/FgAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ class FgAction {
const pdoverride = appConfig.getPdoverride();
const edgeWorkerEndDate = appConfig.getEdgeWorkerEndDate();
if (!pdoverride && edgeWorkerEndDate) {
const checkDate = edgeWorkerEndDate.setDate(edgeWorkerEndDate.getDate() + 1);
edgeWorkerEndDate.setDate(edgeWorkerEndDate.getDate() + 1);
let stepMsg;
if (new Date() <= checkDate) {
if (new Date() <= edgeWorkerEndDate) {
stepMsg = 'Access Denied! Event in progress or concluded within 24 hours.';
await this.fgStatus?.updateStatusToStateLib({
status: FgStatus.PROJECT_STATUS.FAILED,
Expand Down

0 comments on commit 200d4f9

Please sign in to comment.