Fix app enable

This commit is contained in:
Adphi 2018-10-19 14:53:24 +02:00
parent 75e83977e4
commit 8600032042

View File

@ -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
}