diff --git a/.idea/.idea.Abyss/.idea/workspace.xml b/.idea/.idea.Abyss/.idea/workspace.xml index 6c4fbb4..ff3edf4 100644 --- a/.idea/.idea.Abyss/.idea/workspace.xml +++ b/.idea/.idea.Abyss/.idea/workspace.xml @@ -11,7 +11,19 @@ - + + + + + + + + + + + + + diff --git a/Abyss/Abyss.csproj b/Abyss/Abyss.csproj index 62c35d5..ec64339 100644 --- a/Abyss/Abyss.csproj +++ b/Abyss/Abyss.csproj @@ -13,6 +13,10 @@ + + + + diff --git a/Abyss/Components/Controllers/Media/LiveController.cs b/Abyss/Components/Controllers/Media/LiveController.cs index e8464bf..c29e525 100644 --- a/Abyss/Components/Controllers/Media/LiveController.cs +++ b/Abyss/Components/Controllers/Media/LiveController.cs @@ -11,7 +11,7 @@ public class LiveController(ILogger logger, ResourceService rs, public readonly string LiveFolder = Path.Combine(config.MediaRoot, "Live"); [HttpPost("{id}")] - public async Task AddLive(string id, string token, string owner) + public async Task AddLive(string id, string token, int owner) { var d = Helpers.SafePathCombine(LiveFolder, [id]); if (d == null) return StatusCode(403, new { message = "403 Denied" }); diff --git a/Abyss/Components/Controllers/Media/VideoController.cs b/Abyss/Components/Controllers/Media/VideoController.cs index f90018e..68c1f75 100644 --- a/Abyss/Components/Controllers/Media/VideoController.cs +++ b/Abyss/Components/Controllers/Media/VideoController.cs @@ -60,7 +60,7 @@ public class VideoController(ILogger logger, ResourceService rs .Select(x => JsonConvert.DeserializeObject