Fix Follow::accept_follow()

This commit is contained in:
Kitaiti Makoto 2022-05-08 18:00:42 +09:00
parent bf24e4878a
commit 96860be1be

View File

@ -98,7 +98,8 @@ impl Follow {
follower_id: from_id,
following_id: target_id,
ap_url: follow
.id_unchecked()
.object_field_ref()
.as_single_id()
.ok_or(Error::MissingApProperty)?
.to_string(),
},