Skip to content

Commit

Permalink
Set key to mgmt for updateSettingMgmt api
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmc authored and paultyng committed Apr 5, 2021
1 parent 74e2b9d commit ac8d0c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unifi/setting_mgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
d.Key = "mgmt"
return c.updateSettingMgmt(ctx, site, d)
}

0 comments on commit ac8d0c5

Please sign in to comment.