fix SetTransferStatus
This commit is contained in:
parent
c9c949a091
commit
4cefe74a47
|
@ -158,7 +158,7 @@ func (c *client) SetTransferStatus(ctx context.Context, uuid string, successful
|
|||
if successful {
|
||||
state = "success"
|
||||
}
|
||||
resp, err := c.post(ctx, fmt.Sprintf("/servers/%s/transfer/%s", uuid), state)
|
||||
resp, err := c.get(ctx, fmt.Sprintf("/servers/%s/transfer/%s", uuid, state), nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user