Commit 86000320 authored by Adphi's avatar Adphi
Browse files

Fix app enable

parent 75e83977
Pipeline #152 canceled with stage
in 3 minutes and 17 seconds
......@@ -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
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