Rename: FromId::from_id07 -> from_id

This commit is contained in:
Kitaiti Makoto
2022-05-02 19:24:36 +09:00
parent 0ab7774e29
commit 28440271bb
12 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -177,7 +177,7 @@ impl FromId<DbConn> for Reshare {
let res = Reshare::insert(
conn,
NewReshare {
post_id: Post::from_id07(
post_id: Post::from_id(
conn,
act.object_field_ref()
.as_single_id()
@@ -188,7 +188,7 @@ impl FromId<DbConn> for Reshare {
)
.map_err(|(_, e)| e)?
.id,
user_id: User::from_id07(
user_id: User::from_id(
conn,
act.actor_field_ref()
.as_single_id()