mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
refactor: make SavedPostSerializer
an object
This commit is contained in:
parent
acdc924047
commit
8a418f6649
3 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ constructor(
|
|||
@DatabaseDispatcher private val dbDispatcher: CoroutineDispatcher,
|
||||
@IODispatcher private val ioDispatcher: CoroutineDispatcher,
|
||||
) {
|
||||
private val serializer = ListSerializer(SavedPostSerializer())
|
||||
private val serializer = ListSerializer(SavedPostSerializer)
|
||||
private val savedPostQueries = database.savedPostQueries
|
||||
|
||||
suspend fun importPosts(input: InputStream) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue