Compare commits

..

No commits in common. "e1af2979af66d6750031d71b67e3f7db7f5e908d" and "f6dedc6f101a3a8cfdf3ebb80e047811cfbc5585" have entirely different histories.

View File

@ -572,8 +572,7 @@ func ReviewArticleForDeletion(c *b.Config, db *b.DB, s *b.CookieStore) http.Hand
return
}
articleAbsName := fmt.Sprint(c.ArticleDir, "/", article.ID, ".md")
contentBytes, err := os.ReadFile(articleAbsName)
contentBytes, err := os.ReadFile(article.Link)
if err != nil {
log.Println(err)
http.Error(w, err.Error(), http.StatusInternalServerError)