Skip to content

Commit 906ba9d

Browse files
Merge pull request #1 from thomasrossetto/feat/add_external_id_in_topic_creation
Add support for external_id in topic creation
2 parents d5ea30b + a973679 commit 906ba9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/discourse_api/api/topics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def create_topic(args = {})
1111
API
1212
.params(args)
1313
.required(:title, :raw)
14-
.optional(:skip_validations, :category, :auto_track, :created_at, :api_username, :tags)
14+
.optional(:skip_validations, :category, :auto_track, :created_at, :api_username, :tags, :external_id)
1515
post("/posts", args.to_h)
1616
end
1717

0 commit comments

Comments
 (0)