aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-05-04 22:28:01 -0500
committerJP Dillingham <jp@dillingham.me>2026-05-04 22:28:01 -0500
commiteec45b7ddaa7fb33cc3831af4d4c849a5c39ca40 (patch)
tree9c56376a05d4498851135ba47d4f3ac8f60c3122
parent22cc518863f5f2f0169e5fcbd83a91ebda15a5ef (diff)
downloadslskd-eec45b7ddaa7fb33cc3831af4d4c849a5c39ca40.tar.gz
size is a long, not an int
-rw-r--r--src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
index 0aaf1034..21a77e83 100644
--- a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
+++ b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
@@ -80,7 +80,7 @@ public record EnqueueDownloadBatchItem
/// <summary>
/// The file size.
/// </summary>
- [Range(0, int.MaxValue)]
+ [Range(0, long.MaxValue)]
public long Size { get; set; }
}