Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions github/apps_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ import (
"fmt"
)

const (
mediaTypeAppManifestPreview = "application/vnd.github.fury-preview+json"
)

// AppConfig describes the configuration of a GitHub App.
type AppConfig struct {
ID *int64 `json:"id,omitempty"`
Expand Down Expand Up @@ -41,7 +37,6 @@ func (s *AppsService) CompleteAppManifest(ctx context.Context, code string) (*Ap
if err != nil {
return nil, nil, err
}
req.Header.Set("Accept", mediaTypeAppManifestPreview)

cfg := new(AppConfig)
resp, err := s.client.Do(ctx, req, cfg)
Expand Down
1 change: 0 additions & 1 deletion github/apps_manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func TestGetConfig(t *testing.T) {

mux.HandleFunc("/app-manifests/code/conversions", func(w http.ResponseWriter, r *http.Request) {
testMethod(t, r, "POST")
testHeader(t, r, "Accept", mediaTypeAppManifestPreview)
fmt.Fprint(w, manifestJSON)
})

Expand Down