Fix on the inserting of images.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace skydiveLogs_api.Controllers
|
||||
[EnableCors]
|
||||
public void Post([FromBody] ImageReq value)
|
||||
{
|
||||
_imageService.AddNewImage(_mapper.Map<Image>(value));
|
||||
_imageService.AddNewImage(_mapper.Map<Image>(value), ConnectedUser);
|
||||
}
|
||||
|
||||
// PUT: api/Image/5
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user