diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-07 17:15:49 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-07 17:15:49 -0500 |
| commit | 3afb1123087a03e15c23a75602b8f91094964e79 (patch) | |
| tree | f06b690dd2b72613c5b634b5c62f0cd6f0d0a190 /src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs | |
| parent | 51a5f28e8a946287cf883ccb4403a0efabe3c426 (diff) | |
| download | slskd-3afb1123087a03e15c23a75602b8f91094964e79.tar.gz | |
destination must be relative (to the configured download directory)
Diffstat (limited to 'src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs')
| -rw-r--r-- | src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs index 21a77e83..4a1d32f1 100644 --- a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs +++ b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs @@ -33,6 +33,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; +using slskd.Validation; namespace slskd.Transfers.API; @@ -89,5 +90,6 @@ public record EnqueueDownloadBatchOptions /// <summary> /// The destination directory for the files, relative to the configured download directory. /// </summary> + [RelativePath] public string Destination { get; init; } }
\ No newline at end of file |
