diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-06-26 22:15:25 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-06-26 22:15:25 -0500 |
| commit | c9b682b4be58c53b3db4357b24b1b902ac0ae45f (patch) | |
| tree | 7a441ecd524e4fc97c7f5e4803b3cd011e712fe6 /src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs | |
| parent | f4d625a1e0fc9d65bb1c38b7a6979bc825c1fa90 (diff) | |
| download | slskd-c9b682b4be58c53b3db4357b24b1b902ac0ae45f.tar.gz | |
rename DownloadCount to UploadCount
Diffstat (limited to 'src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs')
| -rw-r--r-- | src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs b/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs index 53b66c32..8f1e9544 100644 --- a/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs +++ b/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs @@ -37,11 +37,6 @@ namespace slskd.Messaging.API public int DirectoryCount { get; set; } /// <summary> - /// The number of active user downloads. - /// </summary> - public long DownloadCount { get; set; } - - /// <summary> /// The number of files shared by the user. /// </summary> public int FileCount { get; set; } @@ -62,6 +57,11 @@ namespace slskd.Messaging.API public UserPresence Status { get; set; } /// <summary> + /// The number of uploads tracked by the server for the user. + /// </summary> + public long UploadCount { get; set; } + + /// <summary> /// The username of the user. /// </summary> public string Username { get; set; } @@ -73,7 +73,7 @@ namespace slskd.Messaging.API AverageSpeed = userData.AverageSpeed, CountryCode = userData.CountryCode, DirectoryCount = userData.DirectoryCount, - DownloadCount = userData.DownloadCount, + UploadCount = userData.UploadCount, FileCount = userData.FileCount, SlotsFree = userData.SlotsFree, Status = userData.Status, |
