Use Post::update_hashtags07() instead of update_hashtags()

This commit is contained in:
Kitaiti Makoto
2022-05-02 22:28:36 +09:00
parent a8be31b177
commit a958300a58
2 changed files with 3 additions and 39 deletions
+2 -2
View File
@@ -334,9 +334,9 @@ pub fn update(
.into_iter()
.collect::<HashSet<_>>()
.into_iter()
.filter_map(|t| Tag::build_activity(t).ok())
.filter_map(|t| Tag::build_activity07(t).ok())
.collect::<Vec<_>>();
post.update_hashtags(&conn, hashtags)
post.update_hashtags07(&conn, hashtags)
.expect("post::update: hashtags error");
if post.published {