Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from Sage-Bionetworks/fix-get-sessions
Browse files Browse the repository at this point in the history
Fix get sessions
  • Loading branch information
nategbrown9 authored Jul 8, 2021
2 parents f37d113 + e474a83 commit 0b1f95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ class ScheduleTimelineRepo(internal val adherenceRecordRepo: AdherenceRecordRepo
return combine(
getTimeline(studyId),
activityEventsRepo.getActivityEvents(studyId),
//Need to include call to get AdherenceRecords as part of the combine.
//This will trigger the flow to emit a new value anytime the AdherenceRecords change.
adherenceRecordRepo.getAllCachedAdherenceRecords(studyId)
) { timeLineResource, eventsResource, _ ->
extractSessionsForDay(
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {

allprojects {
group = "org.sagebionetworks.bridge.kmm"
version = "0.2.17"
version = "0.2.18"
repositories {
google()
mavenCentral()
Expand Down

0 comments on commit 0b1f95a

Please sign in to comment.