fix: missing messages after changing primary address

This commit is contained in:
James Houlahan
2020-05-06 10:34:32 +02:00
parent 2d200f6f8c
commit 4b2977041a
11 changed files with 62 additions and 18 deletions

View File

@ -175,8 +175,6 @@ func (c *client) GetAddresses() (addresses AddressList, err error) {
}
func (c *client) ReorderAddresses(addressIDs []string) (err error) {
defer c.UpdateUser()
var reqBody struct {
AddressIDs []string
}
@ -193,6 +191,8 @@ func (c *client) ReorderAddresses(addressIDs []string) (err error) {
return
}
_, err = c.UpdateUser()
return
}