cargo fmt
This commit is contained in:
parent
3b849e6e6e
commit
c2449dcaf1
|
@ -240,12 +240,11 @@ async fn cached_page<T>(
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
};
|
};
|
||||||
|
|
||||||
data.insert(
|
data.insert(path.clone(), cache.clone());
|
||||||
path.clone(),
|
|
||||||
cache.clone()
|
|
||||||
);
|
|
||||||
|
|
||||||
let cache_sqlite = sqlx::query("INSERT INTO cached (route, cached, content_type, content) VALUES ( $1, $2, $3, $4 )")
|
let cache_sqlite = sqlx::query(
|
||||||
|
"INSERT INTO cached (route, cached, content_type, content) VALUES ( $1, $2, $3, $4 )",
|
||||||
|
)
|
||||||
.bind(path)
|
.bind(path)
|
||||||
.bind(cache.cached)
|
.bind(cache.cached)
|
||||||
.bind(cache.content_type)
|
.bind(cache.content_type)
|
||||||
|
|
Loading…
Reference in a new issue