Fixed user confirmation :/ #70

This commit is contained in:
2022-10-25 08:07:15 +02:00
parent 5cbd6ec00b
commit 811e9991d0
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ export class AuthService {
}
confirmEMail(id: string): Observable<boolean> {
return this.http.post<boolean>(`${this.appsettings.getApiURL()}/api/auth/register/${id}`, {
return this.http.post<boolean>(`${this.appsettings.getApiURL()}/api/auth/register-by-id/${id}`, {
headers: new HttpHeaders({
'Content-Type': 'application/json'
})