Add TODO comments

This commit is contained in:
Kitaiti Makoto
2021-02-18 11:34:35 +09:00
parent af5674074d
commit 451c3b5c88
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -644,6 +644,7 @@ impl FromId<DbConn> for Post {
.and_then(|img| Media::from_activity(conn, &img).ok().map(|m| m.id));
let title = article.object_props.name_string()?;
// TODO: upsert
let post = Post::insert(
conn,
NewPost {