aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/signup/signup.component.ts
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-31 21:32:55 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-31 21:32:55 -0400
commit9c9708cc846dafe33234c38c37425468b9877514 (patch)
treec30a0d1a9be3f6035f478555d3511ed0f236c361 /ufund-ui/src/app/components/signup/signup.component.ts
parent6af14c6089f0fa0924740fb6089affc545f93a81 (diff)
downloadJellySolutions-9c9708cc846dafe33234c38c37425468b9877514.tar.gz
JellySolutions-9c9708cc846dafe33234c38c37425468b9877514.tar.bz2
JellySolutions-9c9708cc846dafe33234c38c37425468b9877514.zip
Updated toast's types
Diffstat (limited to 'ufund-ui/src/app/components/signup/signup.component.ts')
-rw-r--r--ufund-ui/src/app/components/signup/signup.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/signup/signup.component.ts b/ufund-ui/src/app/components/signup/signup.component.ts
index 5ec84ae..a20d828 100644
--- a/ufund-ui/src/app/components/signup/signup.component.ts
+++ b/ufund-ui/src/app/components/signup/signup.component.ts
@@ -47,7 +47,7 @@ export class SignupComponent {
this.usersService.createUser(username, password).then(() => {
this.showSuccessMessage.next(true);
}).catch(ex => {
- this.toastService.sendToast(ToastType.INFO, "Unable to create account: " + friendlyHttpStatus[ex.status])
+ this.toastService.sendToast(ToastType.ERROR, "Unable to create account: " + friendlyHttpStatus[ex.status])
console.log(ex)
})
}