Issue fixing + deletion of profile & logo
This commit is contained in:
@@ -35,4 +35,10 @@ export class ImageService {
|
||||
async getCompanyLogosForUsers(userids: string[]) {
|
||||
return await lastValueFrom(this.http.get<[]>(`${this.apiBaseUrl}/bizmatch/image/companyLogos/${userids.join(',')}`));
|
||||
}
|
||||
async deleteLogoImagesById(userid: string) {
|
||||
await lastValueFrom(this.http.delete<[]>(`${this.apiBaseUrl}/bizmatch/image/logo/${userid}`));
|
||||
}
|
||||
async deleteProfileImagesById(userid: string) {
|
||||
await lastValueFrom(this.http.delete<[]>(`${this.apiBaseUrl}/bizmatch/image/profile/${userid}`));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user