mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
awa
This commit is contained in:
parent
8ee5eb52bd
commit
12581254d2
|
|
@ -162,6 +162,7 @@ impl Object for user::Model {
|
|||
object_id: Url,
|
||||
data: &Data<Self::DataType>,
|
||||
) -> Result<Option<Self>, Self::Error> {
|
||||
println!("!!!!!!!!Reading user from id!!!!!!!!!!!: {}", object_id);
|
||||
let res = entities::prelude::User::find()
|
||||
.filter(entities::user::Column::Url.eq(object_id.as_str()))
|
||||
.one(data.database_connection.as_ref())
|
||||
|
|
|
|||
Loading…
Reference in a new issue