Skip to content

Commit

Permalink
fix: contentType for project user binding
Browse files Browse the repository at this point in the history
  • Loading branch information
malhussan committed Jul 9, 2024
1 parent a7bf2cc commit 1885a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/project_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ func (c *MeshStackProviderClient) createProjectBinding(binding *MeshProjectBindi
if err != nil {
return nil, err
}
req.Header.Set("Content-Type", CONTENT_TYPE_PROJECT_GROUP_BINDING)
req.Header.Set("Accept", CONTENT_TYPE_PROJECT_GROUP_BINDING)
req.Header.Set("Content-Type", contentType)
req.Header.Set("Accept", contentType)

res, err := c.doAuthenticatedRequest(req)
if err != nil {
Expand Down

0 comments on commit 1885a89

Please sign in to comment.