naive_now,
schema::user_::dsl::*,
source::user::{UserForm, UserSafeSettings, User_},
- Url,
+ DbUrl,
};
use lemmy_utils::settings::structs::Settings;
}
impl ApubObject<UserForm> for User_ {
- fn read_from_apub_id(conn: &PgConnection, object_id: &Url) -> Result<Self, Error> {
+ fn read_from_apub_id(conn: &PgConnection, object_id: &DbUrl) -> Result<Self, Error> {
use lemmy_db_schema::schema::user_::dsl::*;
user_
.filter(deleted.eq(false))