From 60462dddfc23d2cc04a7bc019f7473ed14d74fbc Mon Sep 17 00:00:00 2001 From: high Date: Mon, 5 Sep 2011 02:46:22 -0400 Subject: [PATCH] request parameter was removed --- TShockAPI/Properties/AssemblyInfo.cs | 4 ++-- TShockAPI/RestManager.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index 13fd0a20..f2f36cc1 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -36,5 +36,5 @@ using System.Runtime.InteropServices; // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.3.0.0904")] -[assembly: AssemblyFileVersion("3.3.0.0904")] +[assembly: AssemblyVersion("3.3.0.0905")] +[assembly: AssemblyFileVersion("3.3.0.0905")] diff --git a/TShockAPI/RestManager.cs b/TShockAPI/RestManager.cs index 2ce4abd0..99fbf32e 100644 --- a/TShockAPI/RestManager.cs +++ b/TShockAPI/RestManager.cs @@ -23,7 +23,7 @@ namespace TShockAPI { #region RestMethods //The Wizard example, for demonstrating the response convention: - object wizard(RestVerbs verbs, IParameterCollection parameters, RequestEventArgs request) + object wizard(RestVerbs verbs, IParameterCollection parameters) { var returnBack = new Dictionary(); returnBack.Add("status", "200"); //Keep this in everything, 200 = ok, etc. Standard http status codes. @@ -33,7 +33,7 @@ namespace TShockAPI { } //http://127.0.0.1:8080/HelloWorld/name/{username}?type=status - object usertest(RestVerbs verbs, IParameterCollection parameters, RequestEventArgs request) + object usertest(RestVerbs verbs, IParameterCollection parameters) { var ret = new Dictionary(); var type = parameters["type"];