Skip to content

Commit

Permalink
Add total field to get-tasks route
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacr committed Aug 30, 2023
1 parent 241e797 commit 27230ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub enum TaskType {
#[derive(Debug, Clone, Deserialize)]
pub struct TasksResults {
pub results: Vec<Task>,
pub total: u64,
pub limit: u32,
pub from: Option<u32>,
pub next: Option<u32>,
Expand Down

0 comments on commit 27230ab

Please sign in to comment.