Skip to content

Commit ef8c57f

Browse files
committed
Fix update example
1 parent d60f614 commit ef8c57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/update/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func main() {
1515
discourseClient := discourse.NewClient(site, apiKey, username)
1616

1717
// Get the first category and change color to orange
18-
allCategoriesResponse, err := discourse.ListCategories(discourseClient)
18+
allCategoriesResponse, err := discourse.ListCategories(discourseClient, false)
1919

2020
if err != nil {
2121
fmt.Println(err)

0 commit comments

Comments
 (0)