Browse Source

Merge branch 'dev' into studio-dev

pull/10363/head
Yunus Emre Kalkan 5 years ago
parent
commit
0871ea462c
  1. 4
      framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/UrlBuilder.cs

4
framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/UrlBuilder.cs

@ -132,14 +132,14 @@ namespace Volo.Abp.Http.Client.DynamicProxying
return true; return true;
} }
private static string ConvertValueToString([NotNull] object value) private static string ConvertValueToString([CanBeNull] object value)
{ {
if (value is DateTime dateTimeValue) if (value is DateTime dateTimeValue)
{ {
return dateTimeValue.ToUniversalTime().ToString("O"); return dateTimeValue.ToUniversalTime().ToString("O");
} }
return value.ToString(); return value?.ToString();
} }
} }
} }

Loading…
Cancel
Save