Profile picture, notifications, chat romms

This commit is contained in:
Eudes Inácio
2023-09-18 05:41:33 +01:00
parent 540750e0e9
commit 527cc0f2a6
10 changed files with 236 additions and 124 deletions
+6 -2
View File
@@ -190,11 +190,15 @@ export class AttachmentsService {
return this.http.post(`${geturl}`, formData, options);
}
getUserProfilePhoto() {
getUserProfilePhoto(guid) {
const geturl = environment.apiURL + 'UserAuthentication/GetPhoto';
let params = new HttpParams();
params = params.set("UserPhoto", guid);
let options = {
headers: this.headers
headers: this.headers,
params: params
};
return this.http.get(`${geturl}`, options);