From 3afb1123087a03e15c23a75602b8f91094964e79 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 7 May 2026 17:15:49 -0500 Subject: destination must be relative (to the configured download directory) --- src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs') 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 /// /// The destination directory for the files, relative to the configured download directory. /// + [RelativePath] public string Destination { get; init; } } \ No newline at end of file -- cgit v1.2.3