Rename: from_activity07() -> from_activity()

This commit is contained in:
Kitaiti Makoto
2022-05-03 01:22:55 +09:00
parent 9a640b3438
commit 06d2f68ecd
15 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -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
View File
@@ -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"),