Skip to content

Commit 341dbd1

Browse files
fix linting
1 parent 906ba9d commit 341dbd1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/discourse_api/api/topics.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ 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, :external_id)
14+
.optional(
15+
:skip_validations,
16+
:category,
17+
:auto_track,
18+
:created_at,
19+
:api_username,
20+
:tags,
21+
:external_id,
22+
)
1523
post("/posts", args.to_h)
1624
end
1725

0 commit comments

Comments
 (0)