Resolved wrong supplement ID being returned on supplment upload. IO-425

This commit is contained in:
Patrick Fic
2020-12-02 15:29:19 -08:00
parent 8717a70bd1
commit 50636417f9
2 changed files with 3 additions and 3 deletions

View File

@@ -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")]

View File

@@ -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)