Fix toast type on GitHub authenticate failure

This commit is contained in:
Abdulrahman Alfawal 2024-04-13 11:06:03 +03:00 committed by Mattias Granlund
parent bdf65ead48
commit 5203180cdc

View File

@ -44,7 +44,7 @@
toasts.success('GitHub authenticated');
} catch (err: any) {
console.error(err);
toasts.success('GitHub authentication failed');
toasts.error('GitHub authentication failed');
} finally {
loading = false;
gitHubOauthModal.close();