From 9891568bb5d51f8707150d36cee4f0d39c7606d0 Mon Sep 17 00:00:00 2001 From: bohung Date: Mon, 23 May 2022 13:01:08 +0800 Subject: [PATCH] Adjust feed data. --- app/models/bulletin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/bulletin.rb b/app/models/bulletin.rb index b8b4251..97744b5 100644 --- a/app/models/bulletin.rb +++ b/app/models/bulletin.rb @@ -381,7 +381,7 @@ class Bulletin if more_url a['show_url'] = "#{more_url}/#{self.to_param}" end - a["org_is_top"] = self.is_top + a["org_is_top"] = (self.is_top ? 1 : 0) a["id"] = self.uid a["title_translations"] = self.title_translations a["subtitle_translations"] = self.subtitle_translations