Skip to content

Commit

Permalink
feat: handle new bulk-revoke endpoint response
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzawaleed01 committed Sep 6, 2024
1 parent 61187fa commit 412cac7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const LicenseManagementRevokeModal = ({
// errors when users retry with already revoked emails
if (errorMessages && errorMessages.length > 0) {
const nonLicenseNotFoundErrors = errorMessages.filter(
error => error.error_response_status !== 404
(error) => error.error_response_status !== 404,
);
if (nonLicenseNotFoundErrors.length > 0) {
throw nonLicenseNotFoundErrors;
Expand Down Expand Up @@ -116,7 +116,7 @@ const LicenseManagementRevokeModal = ({
try {
const response = await LicenseManagerApiService.licenseBulkRevoke(
subscription.uuid,
options
options,
);

if (response.status === 207) {
Expand Down

0 comments on commit 412cac7

Please sign in to comment.