Accept article IDs as Int in the Repository

It's cleaner to accept ints and not strings, because the ID is internally stored as an Int
This commit is contained in:
davide
2022-07-23 17:40:27 +02:00
parent b14a6427da
commit c0137ea5e7
5 changed files with 13 additions and 13 deletions
@@ -114,7 +114,7 @@ class ReaderActivity : AppCompatActivity(), DIAware {
private fun readItem(item: SelfossModel.Item) {
if (markOnScroll) {
CoroutineScope(Dispatchers.IO).launch {
repository.markAsRead(item.id.toString())
repository.markAsRead(item.id)
// TODO: Handle failure
}
}
Internal Server Error - Amine's git
500 Internal Server Error

Gitea Version: 1.28.0+dev-210-gd87d26d735