Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #109 from SkillsFundingAgency/CON-644-IFA-API-Update
Browse files Browse the repository at this point in the history
CON-644 IFA API Update
  • Loading branch information
cofaulco committed Jul 9, 2019
2 parents e731912 + d06fc49 commit 33a3622
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Sfa.Das.ApprenticeshipInfoService.Api/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<add key="ElasticsearchPassword" value="" />
<add key="FrameworksExpiredRequired" value="" />
<add key="StandardsExpiredRequired" value="" />
<add key="IFAStandardsApiUrl" value="https://www.instituteforapprenticeships.org/api/standards" />
<add key="IFAStandardsApiUrl" value="https://www.instituteforapprenticeships.org/api/apprenticeshipstandards" />
<add key="ApplicationName" value="apprenticeship-programmes-api" />
<add key="ga.trackingid" value="" />
<!-- Health API Config -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
public class IfaApiStandard
{
public string StandardPageUri { get; set; }
public string StandardPageUrl { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public string GetStandardUrl(string standardId)
{
var json = wc.DownloadString(urlToCall);
var jsonResult = JsonConvert.DeserializeObject<IfaApiStandard>(json);
return jsonResult.StandardPageUri;
return jsonResult.StandardPageUrl;
}
catch (Exception ex)
{
Expand Down

0 comments on commit 33a3622

Please sign in to comment.