diff --git a/app/src/main/java/app/pachli/usecase/DeveloperToolsUseCase.kt b/app/src/main/java/app/pachli/usecase/DeveloperToolsUseCase.kt index c3470325b..9c1a996d1 100644 --- a/app/src/main/java/app/pachli/usecase/DeveloperToolsUseCase.kt +++ b/app/src/main/java/app/pachli/usecase/DeveloperToolsUseCase.kt @@ -41,7 +41,7 @@ class DeveloperToolsUseCase @Inject constructor( */ suspend fun deleteFirstKStatuses(accountId: Long, k: Int) { transactionProvider { - val ids = timelineDao.getMostRecentNStatusIds(accountId, 40) + val ids = timelineDao.getMostRecentNStatusIds(accountId, k) timelineDao.deleteRange(accountId, ids.last(), ids.first()) } }