Fix incorrect return for manip command

main
exsersewo 1 year ago
parent e52c1be361
commit 93e5b76884
Signed by: exsersewo
GPG Key ID: 9C6DDF9AC9BA14A0
  1. 2
      src/Controllers/ImageManipulationController.cs

@ -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);

Loading…
Cancel
Save