We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0916f51 commit da94c08Copy full SHA for da94c08
tasks-core/src/commonMain/kotlin/net/opatry/tasks/data/TaskRepository.kt
@@ -368,7 +368,12 @@ class TaskRepository(
368
private suspend fun pushLocalTaskList(localTaskList: LocalTaskList): LocalTaskList? {
369
return withContext(Dispatchers.IO) {
370
try {
371
- taskListsApi.insert(RemoteTaskList(localTaskList.title))
+ taskListsApi.insert(
372
+ RemoteTaskList(
373
+ title = localTaskList.title,
374
+ updatedDate = localTaskList.lastUpdateDate
375
+ )
376
377
} catch (_: Exception) {
378
null
379
}
0 commit comments