From 8600032042ae87c0abc13d46f40e141040e1b706 Mon Sep 17 00:00:00 2001 From: Adphi Date: Fri, 19 Oct 2018 14:53:24 +0200 Subject: [PATCH] Fix app enable --- apps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps.go b/apps.go index e3b72a7..fdac44e 100644 --- a/apps.go +++ b/apps.go @@ -58,7 +58,7 @@ func (c *Client) AppInfos(name string) (types.App, error) { //AppEnable enables an app func (c *Client) AppEnable(name string) error { - _, err := c.baseRequest(http.MethodPut, routes.apps, nil, name) + _, err := c.baseRequest(http.MethodPost, routes.apps, nil, name) return err }