diff --git a/api/installations_service.go b/api/installations_service.go index 975ed45f9..6267c43e8 100644 --- a/api/installations_service.go +++ b/api/installations_service.go @@ -31,7 +31,7 @@ func NewInstallationsService(client httpClient) InstallationsService { } func (is InstallationsService) Trigger() (InstallationsServiceOutput, error) { - req, err := http.NewRequest("POST", "/api/v0/installations", strings.NewReader(`{enabled_errands: {}}`)) + req, err := http.NewRequest("POST", "/api/v0/installations", strings.NewReader(`{}`)) if err != nil { return InstallationsServiceOutput{}, err } diff --git a/api/installations_service_test.go b/api/installations_service_test.go index 47909f956..5e078e9b0 100644 --- a/api/installations_service_test.go +++ b/api/installations_service_test.go @@ -42,7 +42,7 @@ var _ = Describe("InstallationsService", func() { body, err := ioutil.ReadAll(req.Body) Expect(err).NotTo(HaveOccurred()) - Expect(string(body)).To(Equal(`{enabled_errands: {}}`)) + Expect(string(body)).To(Equal("{}")) }) Context("when an error occurs", func() {