diff --git a/choerodon-gitlab4j-api/src/main/java/org/gitlab4j/api/RepositoryApi.java b/choerodon-gitlab4j-api/src/main/java/org/gitlab4j/api/RepositoryApi.java index 5dcb8c2d..61e1e96e 100644 --- a/choerodon-gitlab4j-api/src/main/java/org/gitlab4j/api/RepositoryApi.java +++ b/choerodon-gitlab4j-api/src/main/java/org/gitlab4j/api/RepositoryApi.java @@ -464,7 +464,7 @@ public InputStream getRawBlobContent(Integer projectId, String sha) throws GitLa */ public InputStream getRepositoryArchive(Integer projectId, String sha) throws GitLabApiException { Form formData = new GitLabApiForm().withParam("sha", sha); - Response response = getWithAccepts(Response.Status.OK, formData.asMap(), MediaType.MEDIA_TYPE_WILDCARD, + Response response = getWithAccepts(Response.Status.OK, formData.asMap(), MediaType.WILDCARD, "projects", projectId, "repository", "archive"); return (response.readEntity(InputStream.class)); } diff --git a/choerodon-starter-asgard/pom.xml b/choerodon-starter-asgard/pom.xml index 22a74fe0..7690fcf7 100644 --- a/choerodon-starter-asgard/pom.xml +++ b/choerodon-starter-asgard/pom.xml @@ -49,4 +49,4 @@ - + \ No newline at end of file diff --git a/choerodon-starter-core/pom.xml b/choerodon-starter-core/pom.xml index bdbb9c73..e8cef4e6 100644 --- a/choerodon-starter-core/pom.xml +++ b/choerodon-starter-core/pom.xml @@ -25,4 +25,4 @@ - + \ No newline at end of file diff --git a/choerodon-starter-fragment/pom.xml b/choerodon-starter-fragment/pom.xml index ef422e55..f68db6e5 100644 --- a/choerodon-starter-fragment/pom.xml +++ b/choerodon-starter-fragment/pom.xml @@ -23,4 +23,4 @@ hzero-starter-core - + \ No newline at end of file diff --git a/choerodon-starter-only-office/pom.xml b/choerodon-starter-only-office/pom.xml index 54edfdaa..3aa53988 100644 --- a/choerodon-starter-only-office/pom.xml +++ b/choerodon-starter-only-office/pom.xml @@ -53,4 +53,4 @@ - + \ No newline at end of file