Align the tasks route API to the new spec

This commit is contained in:
Kerollmops 2022-06-01 15:30:39 +02:00
parent c11d21879a
commit d80e8b64af
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 11 additions and 22 deletions

View file

@ -371,7 +371,8 @@ impl From<Task> for TaskView {
pub struct TaskListView {
pub results: Vec<TaskView>,
pub limit: usize,
pub after: Option<TaskId>,
pub from: Option<TaskId>,
pub next: Option<TaskId>,
}
#[derive(Debug, Serialize)]