Improve code quality and add comments
This commit is contained in:
@@ -14,6 +14,7 @@ export class AuthService {
|
||||
constructor(private http: HttpClient) {}
|
||||
|
||||
/**
|
||||
* Function to login user
|
||||
* @param {string} email
|
||||
* @param {string} password
|
||||
* @returns Observable
|
||||
@@ -26,6 +27,7 @@ export class AuthService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to register user
|
||||
* @param {string} email
|
||||
* @param {string} username
|
||||
* @param {string} password
|
||||
|
Reference in New Issue
Block a user