Skip to content

Commit

Permalink
Fix QBO auth message
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 committed Jun 4, 2024
1 parent 62440b3 commit 0e74dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class QboOnboardingConnectorComponent implements OnInit, OnDestroy {
this.warningEvent = ConfigurationWarningEvent.INCORRECT_QBO_ACCOUNT_CONNECTED;
this.isWarningDialogVisible = true;
} else {
this.toastService.displayToastMessage(ToastSeverity.ERROR, errorMessage);
this.toastService.displayToastMessage(ToastSeverity.ERROR, 'Something went wrong, please try again.');
this.router.navigate([`/integrations/qbo/onboarding/landing`]);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class QboOnboardingLandingComponent implements OnInit, OnDestroy {
if (errorMessage === 'Please choose the correct QuickBooks Online account') {
this.isIncorrectQBOConnectedDialogVisible = true;
} else {
this.toastService.displayToastMessage(ToastSeverity.ERROR, errorMessage);
this.toastService.displayToastMessage(ToastSeverity.ERROR, 'Something went wrong, please try again.');
this.router.navigate([`/integrations/qbo/onboarding/landing`]);
}
});
Expand Down

0 comments on commit 0e74dc3

Please sign in to comment.