Cargo fmt
This commit is contained in:
parent
148106e1bd
commit
536b2b5969
@ -225,7 +225,11 @@ impl BunqConfigReady {
|
|||||||
loop {
|
loop {
|
||||||
let (mut payments, pag) = next_page(&format!("{}{}", BASE, url))?;
|
let (mut payments, pag) = next_page(&format!("{}{}", BASE, url))?;
|
||||||
all.append(&mut payments);
|
all.append(&mut payments);
|
||||||
if let Some(Pagination{older_url: Some(older_url),..}) = pag {
|
if let Some(Pagination {
|
||||||
|
older_url: Some(older_url),
|
||||||
|
..
|
||||||
|
}) = pag
|
||||||
|
{
|
||||||
url = older_url;
|
url = older_url;
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
@ -287,4 +291,3 @@ pub struct MonetaryAccountBank {
|
|||||||
pub id: i64,
|
pub id: i64,
|
||||||
pub description: String,
|
pub description: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user