Improve code quality and add comments

This commit is contained in:
kevinpauer
2022-05-08 19:52:08 +02:00
parent a2b4686528
commit 0fc9e8d37f
10 changed files with 66 additions and 10 deletions

View File

@@ -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
*/