Skip to content

Conversation

@johnbaldwin
Copy link
Contributor

@johnbaldwin johnbaldwin commented Dec 29, 2020

The Figures api endpoint '/figures/api/users/detail/' does not have a ['progress_data']['date_completed'] key.
['progress_data']['course_completed'] contains the date if completed, else it contains 'false'

The 'moment' package appears to set the date to 'today' when the value is 'false'

https://appsembler.atlassian.net/browse/RED-1741

The Figures api endpoint '/figures/api/users/detail/' does not have a
['progress_data']['date_completed'] key.
['progress_data']['course_completed'] contains the date if completed,
else it contains 'false'

The 'moment' package appears to set the date to 'today' when the value
is 'false'
@johnbaldwin johnbaldwin merged commit 7a94141 into master Dec 29, 2020
@johnbaldwin johnbaldwin deleted the john/fix-course-learner-list-date-completed branch December 29, 2020 15:34
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.

3 participants