Début pour afficher une popin affichant les

images dans le profil utilisateur.
This commit is contained in:
Sébastien André
2021-04-06 18:26:34 +02:00
parent 0c6cb2a246
commit 6b927be26a
4 changed files with 61 additions and 8 deletions

View File

@@ -25,11 +25,8 @@ export class ImageService extends BaseService {
data: dataImg,
};
this.http.post(`${this.apiUrl}/Image`,
bodyNewImage,
{ headers: this.headers })
.subscribe(
error => { console.error(error); }
);
return this.http.post(`${this.apiUrl}/Image`,
bodyNewImage,
{ headers: this.headers });
}
}