Skip to content

Commit 27230ab

Browse files
committed
Add total field to get-tasks route
1 parent 241e797 commit 27230ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tasks.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub enum TaskType {
4646
#[derive(Debug, Clone, Deserialize)]
4747
pub struct TasksResults {
4848
pub results: Vec<Task>,
49+
pub total: u64,
4950
pub limit: u32,
5051
pub from: Option<u32>,
5152
pub next: Option<u32>,

0 commit comments

Comments
 (0)