aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+verify-account/verify-account-email
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 11:27:47 +0200
committerChocobozzz <me@florianbigard.com>2021-08-17 14:01:45 +0200
commit1378c0d343028f3d40d7d795422684ab9e6a1599 (patch)
tree08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/+signup/+verify-account/verify-account-email
parentc186a67f90203af6bfa434f026efdc99193bcd65 (diff)
downloadPeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip
Fix client lint
Diffstat (limited to 'client/src/app/+signup/+verify-account/verify-account-email')
-rw-r--r--client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.ts b/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.ts
index acc688ab3..457a0abe0 100644
--- a/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.ts
+++ b/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.ts
@@ -38,8 +38,8 @@ export class VerifyAccountEmailComponent implements OnInit {
38 38
39 verifyEmail () { 39 verifyEmail () {
40 this.userService.verifyEmail(this.userId, this.verificationString, this.isPendingEmail) 40 this.userService.verifyEmail(this.userId, this.verificationString, this.isPendingEmail)
41 .subscribe( 41 .subscribe({
42 () => { 42 next: () => {
43 if (this.authService.isLoggedIn()) { 43 if (this.authService.isLoggedIn()) {
44 this.authService.refreshUserInformation() 44 this.authService.refreshUserInformation()
45 } 45 }
@@ -47,11 +47,11 @@ export class VerifyAccountEmailComponent implements OnInit {
47 this.success = true 47 this.success = true
48 }, 48 },
49 49
50 err => { 50 error: err => {
51 this.failed = true 51 this.failed = true
52 52
53 this.notifier.error(err.message) 53 this.notifier.error(err.message)
54 } 54 }
55 ) 55 })
56 } 56 }
57} 57}