Skip to content

Commit

Permalink
CamelCase in getPageInlineComments (#115)
Browse files Browse the repository at this point in the history
* CamelCase in getPageInlineComments

* modified interface
  • Loading branch information
frodri13 authored Jul 2, 2023
1 parent 5f19980 commit 80dc433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/version2/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class Comment {
url: `/pages/${parameters.id}/inline-comments`,
method: 'GET',
params: {
'body-format': parameters['body-format'],
'body-format': parameters.bodyFormat,
sort: parameters.sort,
cursor: parameters.cursor,
limit: parameters.limit,
Expand Down
2 changes: 1 addition & 1 deletion src/version2/parameters/getPageInlineComments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface GetPageInlineComments {
* The content format type to be returned in the `body` field of the response. If available, the representation will
* be available under a response field of the same name under the `body` field.
*/
'body-format'?: {};
bodyFormat?: {};
/** Used to sort the result by a particular field. */
sort?: 'created-date' | '-created-date' | 'modified-date' | '-modified-date';
/**
Expand Down

0 comments on commit 80dc433

Please sign in to comment.