Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DI-1336] - DRAFT - Update DI 2.3 for ODS/API 7.1 compatibility #60

Closed
wants to merge 1 commit into from

Conversation

DavidJGapCR
Copy link
Contributor

No description provided.

@DavidJGapCR DavidJGapCR marked this pull request as draft April 4, 2024 17:14
@DavidJGapCR DavidJGapCR changed the title [DI-1336] - Update DI 2.3 for ODS/API 7.1 compatibility [DI-1336] - DRAFT - Update DI 2.3 for ODS/API 7.1 compatibility Apr 4, 2024
@@ -57,9 +57,10 @@ public async Task<string> GetYearSpecificYear(string apiUrl)

var rawApis = await _swaggerWebClient.DownloadString(baseUrl);
var response = JToken.Parse(rawApis);
var isYearSpecific = response["apiMode"].ToString() == "Year Specific";
//var isYearSpecific = response["apiMode"].ToString() == "Year Specific";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apiMode is not part of the response.

@jasonh-edfi jasonh-edfi self-requested a review April 9, 2024 19:01
Copy link
Contributor

@jasonh-edfi jasonh-edfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants