Fixed up the wiring for uploading by url. Method needs to be implemented.
This commit is contained in:
parent
5f1ea3c306
commit
01185bdb0a
5 changed files with 59 additions and 34 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue