mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-30 03:22:37 -04:00
Hangfire now dies gracefully when using CTRL+C rather than Stop button in Rider. Implemented one stream method for testing. Regenerated a few migrations due to oversight in index not taking account of library.
This commit is contained in:
@@ -126,5 +126,11 @@ namespace API.Controllers
|
||||
|
||||
return BadRequest("There was an error with updating the series");
|
||||
}
|
||||
|
||||
[HttpGet("recently-added")]
|
||||
public async Task<ActionResult<IEnumerable<SeriesDto>>> GetRecentlyAdded(int libraryId = 0)
|
||||
{
|
||||
return Ok(await _unitOfWork.SeriesRepository.GetRecentlyAdded(libraryId));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user