Improve code quality and add comments
This commit is contained in:
@@ -15,6 +15,7 @@ export class ProfileService {
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Function to get all Userdata
|
||||
* @returns Observable
|
||||
*/
|
||||
public getUserData(): Observable<any> {
|
||||
@@ -28,6 +29,7 @@ export class ProfileService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to update user profile
|
||||
* @param {string} username
|
||||
* @param {number} password
|
||||
* @returns Observable
|
||||
@@ -49,6 +51,7 @@ export class ProfileService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to add a telegram id
|
||||
* @param {string} telegramUserID
|
||||
* @returns Observable
|
||||
*/
|
||||
@@ -68,6 +71,7 @@ export class ProfileService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to add a cron string for automatic updates
|
||||
* @param {string} cronString
|
||||
* @returns Observable
|
||||
*/
|
||||
|
Reference in New Issue
Block a user