mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2024-05-02 17:28:45 +00:00
fmt
This commit is contained in:
parent
97a0d15488
commit
d44902c246
|
@ -122,7 +122,9 @@ where
|
|||
<Kind as Object>::Error: From<Error>,
|
||||
{
|
||||
if data.config.is_local_url(&self.0) {
|
||||
self.dereference_from_db(data).await.map(|o| o.ok_or(Error::NotFound.into()))?
|
||||
self.dereference_from_db(data)
|
||||
.await
|
||||
.map(|o| o.ok_or(Error::NotFound.into()))?
|
||||
} else {
|
||||
self.dereference_from_http(data, None).await
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue