mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-22 07:06:25 +00:00
Fix app enable
This commit is contained in:
parent
75e83977e4
commit
8600032042
2
apps.go
2
apps.go
@ -58,7 +58,7 @@ func (c *Client) AppInfos(name string) (types.App, error) {
|
|||||||
|
|
||||||
//AppEnable enables an app
|
//AppEnable enables an app
|
||||||
func (c *Client) AppEnable(name string) error {
|
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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user