sessionreport needs if of subjectId and taskId
This commit is contained in:
		
							parent
							
								
									07ff75476d
								
							
						
					
					
						commit
						2db431463d
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -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 | ||||
|         ) | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue
	
	 lbarraga
						lbarraga