Fix incorrect return for manip command

This commit is contained in:
2023-10-19 22:54:12 +01:00
parent e52c1be361
commit 93e5b76884

View File

@@ -90,7 +90,7 @@ public class ImageManipulationController : BaseController<ImageManipulationContr
return HttpContext.SendStream(image, "image/png");
}
return result as IResult;
return result as ObjectResult;
}
return HttpContext.Send(EventResult.FromFailure("No template has been provided"), System.Net.HttpStatusCode.BadRequest);