Browse Source

fix permanently typo

fix/permananently-typo
John Doe 1 year ago
parent
commit
c966f446db
  1. 2
      server/lemmy_db/src/comment.rs
  2. 2
      server/lemmy_db/src/post.rs

2
server/lemmy_db/src/comment.rs

@ -119,7 +119,7 @@ impl Comment {
use crate::schema::comment::dsl::*;
diesel::update(comment.filter(creator_id.eq(for_creator_id)))
.set((
content.eq("*Permananently Deleted*"),
content.eq("*Permanently Deleted*"),
deleted.eq(true),
updated.eq(naive_now()),
))

2
server/lemmy_db/src/post.rs

@ -104,7 +104,7 @@ impl Post {
) -> Result<Vec<Self>, Error> {
use crate::schema::post::dsl::*;
let perma_deleted = "*Permananently Deleted*";
let perma_deleted = "*Permanently Deleted*";
let perma_deleted_url = "https://deleted.com";
diesel::update(post.filter(creator_id.eq(for_creator_id)))

Loading…
Cancel
Save