This commit is contained in:
@@ -273,6 +273,8 @@ namespace AyaNova.PlugIn.V8
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
progress.Op("Preparing to export....");
|
progress.Op("Preparing to export....");
|
||||||
|
ResetUniqueUserNames();
|
||||||
|
ResetUniqueNames();
|
||||||
V7ToV8IdMap.Clear();
|
V7ToV8IdMap.Clear();
|
||||||
V7ToV8WorkOrderItemStatusIdMap.Clear();
|
V7ToV8WorkOrderItemStatusIdMap.Clear();
|
||||||
TagMap.Clear();
|
TagMap.Clear();
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
client.Dispose();
|
client.Dispose();
|
||||||
client = null;
|
client = null;
|
||||||
client = new HttpClient();
|
client = new HttpClient();
|
||||||
|
client.Timeout = new TimeSpan(0, 0, 30);
|
||||||
client.BaseAddress = new Uri(ApiBaseUrl);
|
client.BaseAddress = new Uri(ApiBaseUrl);
|
||||||
client.DefaultRequestHeaders.Accept.Clear();
|
client.DefaultRequestHeaders.Accept.Clear();
|
||||||
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
|
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
|
||||||
|
|||||||
Reference in New Issue
Block a user