Skip to content

Commit

Permalink
fix: allow skipping extra-time and severity on ACS calls
Browse files Browse the repository at this point in the history
  • Loading branch information
wazelin committed Feb 1, 2023
1 parent 84c5ae7 commit ddb65ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Action/Tool/Ajax/AcsServiceClientAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ public function __invoke(Request $request): Response
$request->get('acsSub'),
$request->get('acsAction'),
$date,
(int)$request->get('acsAttemptNumber'),
(int)$request->get('acsAttemptNumber') ?: 1,
$request->get('acsIss'),
(int)$request->get('acsExtraTime'),
(float)$request->get('acsSeverity'),
$request->get('acsExtraTime') === '' ? null : (int)$request->get('acsExtraTime'),
$request->get('acsSeverity') === '' ? null : (float)$request->get('acsSeverity'),
$request->get('acsReasonCode'),
$request->get('acsReasonMessage')
);
Expand Down

0 comments on commit ddb65ec

Please sign in to comment.