diff --git a/IoTSharp.Extensions.RESTful/SystemTextJsonRestClientExtensions.cs b/IoTSharp.Extensions.RESTful/SystemTextJsonRestClientExtensions.cs index 336cbc811..e2a74e213 100644 --- a/IoTSharp.Extensions.RESTful/SystemTextJsonRestClientExtensions.cs +++ b/IoTSharp.Extensions.RESTful/SystemTextJsonRestClientExtensions.cs @@ -38,7 +38,7 @@ public static async Task GetDataBy(this Uri uri, Action actio { return await GetDataBy(uri, action, false); } - public static async Task GetDataBy(this Uri uri, Action action, bool checktype = false) + public static async Task GetDataBy(this Uri uri, Action action, bool checktype ) { var result1 = default(T); var client = Create(uri);