Skip to content

Commit

Permalink
Fixup for AlreadyUsedOrDeleted renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed Dec 11, 2024
1 parent bae180b commit a886fef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/views/home/DeviceJoinOrganizationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ async function startProcess(): Promise<void> {
await modalController.dismiss(null, MsModalResult.Cancel);
let message: Translatable = '';
switch (retrieveResult.error.tag) {
case ClaimerRetrieveInfoErrorTag.AlreadyUsed:
case ClaimerRetrieveInfoErrorTag.AlreadyUsedOrDeleted:
message = 'JoinOrganization.errors.tokenAlreadyUsed';
break;
case ClaimerRetrieveInfoErrorTag.NotFound:
Expand Down
2 changes: 1 addition & 1 deletion client/src/views/home/UserJoinOrganizationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ async function startProcess(): Promise<void> {
await modalController.dismiss(null, MsModalResult.Cancel);
let message: Translatable = '';
switch (retrieveResult.error.tag) {
case ClaimerRetrieveInfoErrorTag.AlreadyUsed:
case ClaimerRetrieveInfoErrorTag.AlreadyUsedOrDeleted:
message = 'JoinOrganization.errors.tokenAlreadyUsed';
break;
case ClaimerRetrieveInfoErrorTag.NotFound:
Expand Down

0 comments on commit a886fef

Please sign in to comment.