Fix incorrect return for manip command
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user