Rename: FromId::from_id07 -> from_id
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user