fix: add missing header when creating an issue (#879)

This commit is contained in:
Gauthier
2024-07-17 00:02:07 +02:00
committed by GitHub
parent b36bb3fa58
commit 084e1b224e

View File

@@ -102,6 +102,9 @@ const CreateIssueModal = ({
try {
const res = await fetch('/api/v1/issue', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
issueType: values.selectedIssue.issueType,
message: values.message,