.single_xsd_any_uri()
.context(location_info!())?;
let community = blocking(context.pool(), move |conn| {
- Community::read_from_apub_id(conn, community_uri.as_str())
+ Community::read_from_apub_id(conn, &community_uri.into())
})
.await??;
.single_xsd_any_uri()
.context(location_info!())?;
let community = blocking(context.pool(), move |conn| {
- Community::read_from_apub_id(conn, community_uri.as_str())
+ Community::read_from_apub_id(conn, &community_uri.into())
})
.await??;