sessionreport needs if of subjectId and taskId

This commit is contained in:
lbarraga 2023-05-07 14:02:29 +02:00
parent 07ff75476d
commit 2db431463d

View file

@ -18,11 +18,12 @@ abstract class FunctionalTimer(initialValue: Int) {
abstract fun hasCurrentCountdownEnded(): Boolean
fun getSessionReport(taskId: String): SessionReport {
fun getSessionReport(subjectId: String, taskId: String): SessionReport {
return SessionReport(
studyTime = totalStudyTime,
endTime = Timestamp.now(),
taskId = taskId
taskId = taskId,
subjectId = subjectId
)
}