fix: add missing content-type header (#887)
* fix: add missing headers when commenting on an issue * fix: more missing content-type headers in post requests
This commit is contained in:
@@ -181,6 +181,9 @@ const IssueComment = ({
|
||||
`/api/v1/issueComment/${comment.id}`,
|
||||
{
|
||||
method: 'PUT',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({ message: values.newMessage }),
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user