Fixed timeout options from assumed seconds to real value miliseconds

This commit is contained in:
Marcel Baumgartner 2023-06-29 23:27:48 +02:00
parent 25b47d8b6c
commit 28b5893c21
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ public class ModrinthApiHelper
var request = new RestRequest(url)
{
Timeout = 60 * 15
Timeout = 300000
};
request.AddHeader("Content-Type", "application/json");

View file

@ -209,7 +209,7 @@ public class WingsApiHelper
var request = new RestRequest(url)
{
Timeout = 60 * 15
Timeout = 300000
};
request.AddHeader("Content-Type", "application/json");