From ce8b7bcdb37b39f700ca064fd4ddc6623362236e Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 16 Apr 2022 01:30:33 +0100 Subject: [PATCH] Fixes the 500 --- src/isn/commands/sources.list.cs | 3 --- src/isnd/ApiConfig.cs | 2 +- src/isnd/Controllers/NewUpdateController.cs | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/isn/commands/sources.list.cs b/src/isn/commands/sources.list.cs index d25c683..6a1239a 100644 --- a/src/isn/commands/sources.list.cs +++ b/src/isn/commands/sources.list.cs @@ -3,10 +3,8 @@ using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; - namespace isn { - partial class Program { private static void SourceList(IEnumerable sargs) @@ -18,6 +16,5 @@ namespace isn Console.WriteLine(JsonConvert.SerializeObject(setting)); } } - } } \ No newline at end of file diff --git a/src/isnd/ApiConfig.cs b/src/isnd/ApiConfig.cs index dc4a0e6..fc5d3b2 100644 --- a/src/isnd/ApiConfig.cs +++ b/src/isnd/ApiConfig.cs @@ -7,7 +7,7 @@ namespace isnd public const string Base = "index.json"; public const string Catalog = "catalog"; public const string CatalogPage = "catalog-page"; - public const string Get = "get"; + public const string Get = "package"; public const string Search = "search"; public const string AutoComplete = "autocomplete"; public const string CatalogLeaf = "catalog-leaf"; diff --git a/src/isnd/Controllers/NewUpdateController.cs b/src/isnd/Controllers/NewUpdateController.cs index 3cead90..219f43a 100644 --- a/src/isnd/Controllers/NewUpdateController.cs +++ b/src/isnd/Controllers/NewUpdateController.cs @@ -13,7 +13,6 @@ namespace isnd.Controllers public IActionResult NewRelease(NewReleaseInfo version) { throw new NotImplementedException("web hook"); - return View(version); } } } \ No newline at end of file