Set key to mgmt for updateSettingMgmt api

This commit is contained in:
Kurt McAlpine
2021-04-02 17:51:35 +13:00
committed by Paul Tyng
parent 74e2b9dd38
commit ac8d0c5659

View File

@@ -9,5 +9,6 @@ func (c *Client) GetSettingMgmt(ctx context.Context, site string) (*SettingMgmt,
} }
func (c *Client) UpdateSettingMgmt(ctx context.Context, site string, d *SettingMgmt) (*SettingMgmt, error) { func (c *Client) UpdateSettingMgmt(ctx context.Context, site string, d *SettingMgmt) (*SettingMgmt, error) {
d.Key = "mgmt"
return c.updateSettingMgmt(ctx, site, d) return c.updateSettingMgmt(ctx, site, d)
} }