CommunityUserBan,
CommunityUserBanForm,
},
+ Url,
};
mod safe_type {
}
impl ApubObject<CommunityForm> for Community {
- fn read_from_apub_id(conn: &PgConnection, for_actor_id: &str) -> Result<Self, Error> {
+ fn read_from_apub_id(conn: &PgConnection, for_actor_id: &Url) -> Result<Self, Error> {
use lemmy_db_schema::schema::community::dsl::*;
community
.filter(actor_id.eq(for_actor_id))