Skip to content

Commit 3a1fbd5

Browse files
committed
Correct param requirements for commit comments
1 parent 95b33cc commit 3a1fbd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/v3/repos/comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ body
4040
: _Required_ **string**
4141

4242
path
43-
: _Required_ **string** - Relative path of the file to comment on.
43+
: _Optional_ **string** - Relative path of the file to comment on.
4444

4545
position
46-
: _Required_ **number** - Line index in the diff to comment on.
46+
: _Optional_ **number** - Line index in the diff to comment on.
4747

4848
line
4949
: _Optional_ **number** - Line number in the file to comment on. Defaults to 1.

0 commit comments

Comments
 (0)