diff --git a/Knossos.NET/Models/Nebula.cs b/Knossos.NET/Models/Nebula.cs index 64875bd8..c7db9a67 100644 --- a/Knossos.NET/Models/Nebula.cs +++ b/Knossos.NET/Models/Nebula.cs @@ -728,7 +728,7 @@ private enum ApiMethod if (jsonReply != null) { var reply = JsonSerializer.Deserialize(jsonReply); - if (!reply.result) + if (!reply.result && resourceUrl != "mod/check_id") Log.Add(Log.LogSeverity.Error, "Nebula.ApiCall(" + resourceUrl + ")", "An error has ocurred during nebula api POST call: " + response.StatusCode + "(" + (int)response.StatusCode + ")\n" + data); return reply; @@ -1164,7 +1164,7 @@ public static async Task IsModEditable(string id) if(editableIds != null) return editableIds; - var reply = await ApiCall("mod/editable", null, true, 30, ApiMethod.GET); + var reply = await ApiCall("mod/editable", null, true, 45, ApiMethod.GET); if (reply.HasValue) { if (reply.Value.mods != null && reply.Value.mods.Any()) @@ -1202,7 +1202,7 @@ public static async Task IsModEditable(string id) if (tryUseCache && privateMods != null) return privateMods; - var reply = await ApiCall("mod/list_private", null, true, 30, ApiMethod.GET); + var reply = await ApiCall("mod/list_private", null, true, 45, ApiMethod.GET); if (reply.Value.mods != null && reply.Value.mods.Any()) { var mods = reply.Value.mods.Select(x => x.Deserialize()!).ToArray()!;