mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 05:21:00 +00:00
Remove some debug messages
This commit is contained in:
parent
464832bb31
commit
f593ce40af
1 changed files with 0 additions and 3 deletions
|
@ -212,13 +212,10 @@ fn update(blog: String, slug: String, user: User, conn: DbConn, data: LenientFor
|
|||
post.content = SafeString::new(&content);
|
||||
post.source = form.content.clone();
|
||||
post.license = license;
|
||||
println!("Cover id from update: {:?}", form.cover);
|
||||
post.cover_id = form.cover;
|
||||
post.update(&*conn);
|
||||
println!("Cover id after update: {:?}", post.cover_id);
|
||||
let post = post.update_ap_url(&*conn);
|
||||
|
||||
println!("Cover id after after update: {:?}", post.cover_id);
|
||||
if post.published {
|
||||
post.update_mentions(&conn, mentions.into_iter().map(|m| Mention::build_activity(&conn, m)).collect());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue