Skip to content

Commit 6e5e71b

Browse files
Add visible param when creating a topic (#265)
1 parent 805c92d commit 6e5e71b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/discourse_api/api/topics.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def create_topic(args = {})
1919
:api_username,
2020
:tags,
2121
:external_id,
22+
:visible,
2223
)
2324
post("/posts", args.to_h)
2425
end

0 commit comments

Comments
 (0)