Forgot to correct two of the six functions
diff --git a/servers.go b/servers.go
index 6a8a55a..0861fa2 100644
--- a/servers.go
+++ b/servers.go
@@ -421,7 +421,7 @@
func (gsp *genericServersProvider) Pause(id string) error {
return gsp.context.WithReauth(gsp.access, func() error {
ep := fmt.Sprintf("%s/servers/%s/action", gsp.endpoint, id)
- return perigee.Request("POST", ep, perigee.Options{
+ return perigee.Post(ep, perigee.Options{
ReqBody: &struct {
Pause *int `json:"pause"`
}{nil},
@@ -437,7 +437,7 @@
func (gsp *genericServersProvider) Unpause(id string) error {
return gsp.context.WithReauth(gsp.access, func() error {
ep := fmt.Sprintf("%s/servers/%s/action", gsp.endpoint, id)
- return perigee.Request("POST", ep, perigee.Options{
+ return perigee.Post(ep, perigee.Options{
ReqBody: &struct {
Unpause *int `json:"unpause"`
}{nil},