mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-07 11:21:35 +02:00
Merge recent changes to TrangaSettings backend
This commit is contained in:
@ -140,7 +140,7 @@ public partial class Server
|
||||
return new ValueTuple<HttpStatusCode, object?>(HttpStatusCode.NotFound, $"Manga with ID '{groups[1].Value} could not be found.'");
|
||||
if(!requestParameters.TryGetValue("location", out string? newFolder))
|
||||
return new ValueTuple<HttpStatusCode, object?>(HttpStatusCode.BadRequest, "Parameter 'location' missing.");
|
||||
manga.Value.MovePublicationFolder(settings.downloadLocation, newFolder);
|
||||
manga.Value.MovePublicationFolder(TrangaSettings.downloadLocation, newFolder);
|
||||
return new ValueTuple<HttpStatusCode, object?>(HttpStatusCode.OK, null);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user