mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 03:11:24 +00:00
clippy
This commit is contained in:
parent
4897c90ed7
commit
40bb58d603
1 changed files with 2 additions and 2 deletions
|
@ -1207,9 +1207,9 @@ async fn proxy_alias_from_query<S: Store + 'static>(
|
|||
let alias = if let Some(alias) = state.repo.related(proxy.clone()).await? {
|
||||
alias
|
||||
} else if !state.config.server.read_only {
|
||||
let stream = download_stream(proxy.as_str(), &state).await?;
|
||||
let stream = download_stream(proxy.as_str(), state).await?;
|
||||
|
||||
let (alias, _, _) = ingest_inline(stream, &state).await?;
|
||||
let (alias, _, _) = ingest_inline(stream, state).await?;
|
||||
|
||||
state.repo.relate_url(proxy, alias.clone()).await?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue