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 authored and ljupcovangelski committed Feb 16, 2024
1 parent da9ca7b commit abce214
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 abce214

Please sign in to comment.