fix: rename fields

This commit is contained in:
Gordon
2023-06-07 11:00:07 +08:00
parent b96707ea51
commit 1e075a2468
4 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func (u *UserMap) Get(key string, platformID int) ([]*Client, bool, bool) {
if userExisted {
var clients []*Client
for _, client := range allClients.([]*Client) {
if client.platformID == platformID {
if client.PlatformID == platformID {
clients = append(clients, client)
}
}