From 5c25567599616b7aec44715d78e01b4f838a253e Mon Sep 17 00:00:00 2001 From: Matthew Care Date: Tue, 5 Oct 2021 13:16:54 +0100 Subject: [PATCH] Return tempFiles Add the response data to the return. Fixes #11278 --- src/Umbraco.Web.BackOffice/Controllers/MediaController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/MediaController.cs b/src/Umbraco.Web.BackOffice/Controllers/MediaController.cs index d54bd7a093aa..14a90805864e 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/MediaController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/MediaController.cs @@ -858,7 +858,7 @@ public async Task PostAddFile([FromForm] string path, [FromForm] } } - return Ok(); + return Ok(tempFiles); } private IMedia FindInChildren(int mediaId, string nameToFind, string contentTypeAlias)