Fixed up the wiring for uploading by url. Method needs to be implemented.

This commit is contained in:
Joseph Milazzo 2024-07-13 12:54:02 -05:00
parent 5f1ea3c306
commit 01185bdb0a
5 changed files with 59 additions and 34 deletions

View file

@ -111,8 +111,8 @@ public class FontController : BaseApiController
return Ok(_mapper.Map<EpubFontDto>(font));
}
[HttpPost("upload-url")]
public async Task<ActionResult> UploadFontByUrl(string url)
[HttpPost("upload-by-url")]
public async Task<ActionResult> UploadFontByUrl([FromQuery]string url)
{
// Validate url
try