Added profile pics to all user related models

ref #79
This commit is contained in:
2021-01-08 19:11:50 +01:00
parent d948fe2631
commit 3c37aafe1f
4 changed files with 31 additions and 13 deletions

View File

@@ -57,11 +57,10 @@ export class ResponseUser extends ResponsePrincipal {
enabled: boolean = true;
/**
* The user's profile pic.
* The user's profile pic (or rather a url pointing to it).
*/
@IsString()
@IsOptional()
profilePic?: string;
profilePic: string;
/**
* The groups that the user is a part of.