Skip to content

Commit

Permalink
change content type for sschemas manager
Browse files Browse the repository at this point in the history
  • Loading branch information
AitorAlgorta committed Feb 14, 2024
1 parent 5d9bafb commit 6f902ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/control-center/src/actions/streams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,10 @@ async function postData(url: string, body: any) {
const response = await fetch(apiHostUrl + '/' + url, {
method: 'POST',
headers: {
'Content-Type': 'application/vnd.schemaregistry.v1+json',
'Content-Type': 'application/json',
},
body: JSON.stringify(body),
});

return response.json();
}

Expand Down

0 comments on commit 6f902ee

Please sign in to comment.