mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 14:48:19 +01:00
fix: debug print
This commit is contained in:
parent
b1c78822de
commit
d99d47a9d0
|
|
@ -168,6 +168,7 @@ pub async fn db_post_from_url(url: Url) -> anyhow::Result<entities::post::Model>
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn db_user_from_url(url: Url) -> anyhow::Result<entities::user::Model> {
|
pub async fn db_user_from_url(url: Url) -> anyhow::Result<entities::user::Model> {
|
||||||
|
print!("Fetching user from domain: {}", url.domain().unwrap());
|
||||||
if !url.domain().eq(&Some(LYSAND_DOMAIN.as_str()))
|
if !url.domain().eq(&Some(LYSAND_DOMAIN.as_str()))
|
||||||
&& !url.domain().eq(&Some(API_DOMAIN.as_str()))
|
&& !url.domain().eq(&Some(API_DOMAIN.as_str()))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue