From 50636417f9fd07ea1359e1e18c5f68e07f7fd0cf Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 2 Dec 2020 15:29:19 -0800 Subject: [PATCH] Resolved wrong supplement ID being returned on supplment upload. IO-425 --- BodyshopUploader/Properties/AssemblyInfo.cs | 4 ++-- BodyshopUploader/Utils/Queries/JobsQueries.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BodyshopUploader/Properties/AssemblyInfo.cs b/BodyshopUploader/Properties/AssemblyInfo.cs index 63d888c..dd96b74 100644 --- a/BodyshopUploader/Properties/AssemblyInfo.cs +++ b/BodyshopUploader/Properties/AssemblyInfo.cs @@ -51,7 +51,7 @@ using System.Windows; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.0.1")] +[assembly: AssemblyFileVersion("1.0.0.1")] //Setting Squirrel Aware Version. [assembly: AssemblyMetadata("SquirrelAwareVersion", "1")] \ No newline at end of file diff --git a/BodyshopUploader/Utils/Queries/JobsQueries.cs b/BodyshopUploader/Utils/Queries/JobsQueries.cs index e1e1cdb..5fa134d 100644 --- a/BodyshopUploader/Utils/Queries/JobsQueries.cs +++ b/BodyshopUploader/Utils/Queries/JobsQueries.cs @@ -32,7 +32,7 @@ namespace BodyshopPartner.Utils.Queries try { var d = await Utils.GraphQL.ExecuteQuery(r); - return d.jobs?[1].id; + return d.jobs?[0].id; } catch (ArgumentOutOfRangeException Ex)