remote: use POST for server tranfer status

This commit is contained in:
Matthew Penner 2022-12-01 11:50:56 -07:00
parent 43227bf24d
commit 92efdb1981
No known key found for this signature in database

View File

@ -115,7 +115,7 @@ func (c *client) SetTransferStatus(ctx context.Context, uuid string, successful
if successful {
state = "success"
}
resp, err := c.Get(ctx, fmt.Sprintf("/servers/%s/transfer/%s", uuid, state), nil)
resp, err := c.Post(ctx, fmt.Sprintf("/servers/%s/transfer/%s", uuid, state), nil)
if err != nil {
return err
}