Rename: from_activity07() -> from_activity()
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ pub fn create(
|
||||
|
||||
if post.published {
|
||||
for m in mentions.into_iter() {
|
||||
Mention::from_activity07(
|
||||
Mention::from_activity(
|
||||
&conn,
|
||||
&Mention::build_activity07(&conn, &m)?,
|
||||
post.id,
|
||||
|
||||
@@ -71,7 +71,7 @@ pub fn create(
|
||||
|
||||
// save mentions
|
||||
for ment in mentions {
|
||||
Mention::from_activity07(
|
||||
Mention::from_activity(
|
||||
&conn,
|
||||
&Mention::build_activity07(&conn, &ment)
|
||||
.expect("comments::create: build mention error"),
|
||||
|
||||
+1
-1
@@ -530,7 +530,7 @@ pub fn create(
|
||||
|
||||
if post.published {
|
||||
for m in mentions {
|
||||
Mention::from_activity07(
|
||||
Mention::from_activity(
|
||||
&conn,
|
||||
&Mention::build_activity07(&conn, &m)
|
||||
.expect("post::create: mention build error"),
|
||||
|
||||
Reference in New Issue
Block a user