diff --git a/SecondBotEvents/Services/HttpService.cs b/SecondBotEvents/Services/HttpService.cs index 05d7089..6cf0653 100644 --- a/SecondBotEvents/Services/HttpService.cs +++ b/SecondBotEvents/Services/HttpService.cs @@ -304,7 +304,8 @@ namespace SecondBotEvents.Services } SignedCommand C = new( master.CommandsService,"http", - commandName, signing, myArgs, cmdUnixtime, null, true, 5, master.CommandsService.myConfig.GetSharedSecret()); + commandName, signing, myArgs, cmdUnixtime, null,true, master.CommandsService.myConfig.GetTimeWindowSecs(), + master.CommandsService.myConfig.GetSharedSecret()); if(C.accepted == false) { return "Command request rejected";