Skip to content

Commit

Permalink
fix server status assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
platinummonkey committed Jul 21, 2023
1 parent 4fff1a2 commit a624631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unifi.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (u *Unifi) GetServerData() error {
Data ServerStatus `json:"meta"`
}

u.server = &response.Data
u.ServerStatus = &response.Data

return u.GetData(APIStatusPath, &response)
}
Expand Down

0 comments on commit a624631

Please sign in to comment.