Skip to content

Commit

Permalink
fix: Allow special restricted licence surrender (dvsa/olcs-backend#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
wadedvsa authored Apr 22, 2024
1 parent 27ece8a commit 4f9c6c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ private function isValidLicenceType(string $licType): bool
$validTypes = [
Licence::LICENCE_TYPE_STANDARD_NATIONAL,
Licence::LICENCE_TYPE_STANDARD_INTERNATIONAL,
Licence::LICENCE_TYPE_RESTRICTED
Licence::LICENCE_TYPE_RESTRICTED,
Licence::LICENCE_TYPE_SPECIAL_RESTRICTED,
];

return in_array($licType, $validTypes);
Expand Down

0 comments on commit 4f9c6c2

Please sign in to comment.