Skip to content

Commit

Permalink
Return tempFiles
Browse files Browse the repository at this point in the history
Add the response data to the return. Fixes umbraco#11278
  • Loading branch information
matthewcare authored and nul800sebastiaan committed Oct 12, 2021
1 parent 1605dc1 commit 5c25567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ public async Task<IActionResult> PostAddFile([FromForm] string path, [FromForm]
}
}

return Ok();
return Ok(tempFiles);
}

private IMedia FindInChildren(int mediaId, string nameToFind, string contentTypeAlias)
Expand Down

0 comments on commit 5c25567

Please sign in to comment.