From ffed2ff158c6f625f5a15e59a5dddf5c85f070ca Mon Sep 17 00:00:00 2001 From: David Date: Mon, 30 Jun 2025 16:47:48 +0000 Subject: [PATCH] Remove trailing comma. --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 2033061..e8fc069 100644 --- a/plugin.rb +++ b/plugin.rb @@ -14,7 +14,7 @@ after_initialize do .order("posts.score DESC") .for_mailing_list(user, @since) .where("posts.post_type = ?", Post.types[:regular]) - .where("posts.deleted_at IS NULL AND posts.hidden = false AND posts.user_deleted = false",) + .where("posts.deleted_at IS NULL AND posts.hidden = false AND posts.user_deleted = false") .where("posts.post_number > ?", 1) .where("posts.created_at < ?", (SiteSetting.editing_grace_period || 0).seconds.ago) .limit(SiteSetting.digest_posts)