From d92d070c91ee73657f2e3a5756954ef63fdba306 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Jan 2022 11:03:25 +0100 Subject: Split user service --- .../verify-account-email/verify-account-email.component.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/src/app/+signup/+verify-account/verify-account-email') 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 827ec7652..88efce4a1 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 @@ -1,6 +1,7 @@ import { Component, OnInit } from '@angular/core' import { ActivatedRoute } from '@angular/router' -import { AuthService, Notifier, UserService } from '@app/core' +import { AuthService, Notifier } from '@app/core' +import { UserSignupService } from '@app/shared/shared-users' @Component({ selector: 'my-verify-account-email', @@ -16,7 +17,7 @@ export class VerifyAccountEmailComponent implements OnInit { private verificationString: string constructor ( - private userService: UserService, + private userSignupService: UserSignupService, private authService: AuthService, private notifier: Notifier, private route: ActivatedRoute @@ -37,7 +38,7 @@ export class VerifyAccountEmailComponent implements OnInit { } verifyEmail () { - this.userService.verifyEmail(this.userId, this.verificationString, this.isPendingEmail) + this.userSignupService.verifyEmail(this.userId, this.verificationString, this.isPendingEmail) .subscribe({ next: () => { if (this.authService.isLoggedIn()) { -- cgit v1.2.3