Upload d'images et affichage des dites
images
This commit is contained in:
@@ -18,11 +18,11 @@ export class ImageService extends BaseService {
|
||||
});
|
||||
}
|
||||
|
||||
public AddImage(commentImg: string, dataImg: File) {
|
||||
public AddImage(commentImg: string, dataImg: string) {
|
||||
const bodyNewImage: ImageReq = {
|
||||
id: 0,
|
||||
comment: commentImg,
|
||||
data: dataImg.type,
|
||||
data: dataImg,
|
||||
};
|
||||
|
||||
this.http
|
||||
|
||||
Reference in New Issue
Block a user