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

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