From 98c323d18bee8a0f06cc93d8d3aa8d7cf35723d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9E=E3=83=AA=E3=82=A6=E3=82=B9?= Date: Thu, 15 Jun 2023 10:05:19 -0500 Subject: [PATCH] Possibly fixed #27 --- system/discourse/api/categories.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/discourse/api/categories.go b/system/discourse/api/categories.go index b4eef86..b77478e 100644 --- a/system/discourse/api/categories.go +++ b/system/discourse/api/categories.go @@ -36,7 +36,7 @@ type CategoryModel struct { TopicTemplate string `json:"topic_template"` HasChildren bool `json:"has_children"` SortOrder string `json:"sort_order"` - SortAscending string `json:"sort_ascending"` + SortAscending bool `json:"sort_ascending"` ShowSubcategoryList bool `json:"show_subcategory_list"` NumFeaturedTopics int `json:"num_featured_topics"` DefaultView string `json:"default_view"`