mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-02 12:48:45 -05:00
fix: add missing header when creating an issue (#879)
This commit is contained in:
@@ -102,6 +102,9 @@ const CreateIssueModal = ({
|
|||||||
try {
|
try {
|
||||||
const res = await fetch('/api/v1/issue', {
|
const res = await fetch('/api/v1/issue', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
issueType: values.selectedIssue.issueType,
|
issueType: values.selectedIssue.issueType,
|
||||||
message: values.message,
|
message: values.message,
|
||||||
|
|||||||
Reference in New Issue
Block a user