Skip to content

Commit

Permalink
Add back isForm when setting position within the create Discussions API
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple committed Dec 25, 2023
1 parent 6166bc6 commit c09281b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/templates/ResourceDiscussions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ export class ResourceDiscussions<C extends boolean = false> extends BaseResource

if (position) {
Object.assign(opts, reformatObjectOptions(position, 'position', true));

opts.isForm = true;
}

return RequestHelper.post<DiscussionSchema>()(
Expand Down

0 comments on commit c09281b

Please sign in to comment.