Commit 22ea8f49 authored by Tim Olshansky's avatar Tim Olshansky

Merge pull request #50 from denley/master

Fix crash when deleting a project
parents 866c1360 0b8f0ec8
......@@ -521,7 +521,7 @@ public class GitlabAPI {
*/
public void deleteProject(Serializable projectId) throws IOException {
String tailUrl = GitlabProject.URL + "/" + sanitizeProjectId(projectId);
retrieve().method("DELETE").to(tailUrl, Void.class);
retrieve().method("DELETE").to(tailUrl, null);
}
public List<GitlabMergeRequest> getOpenMergeRequests(Serializable projectId) throws IOException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment