add previews in binary content
This commit is contained in:
features
common
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
common
server
sessions
content
binary
server
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
content
files
common
src
jvmMain
kotlin
dev
inmo
postssystem
features
files
common
gradle
server/src/main/java/dev/inmo/postssystem/server
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui/create
@ -20,7 +20,7 @@ class DefaultPostCreateUIModel(
|
||||
FullNewPost(content)
|
||||
) ?: return@runCatching
|
||||
delay(1000L)
|
||||
publicationService.publish(post.id)
|
||||
// publicationService.publish(post.id)
|
||||
}.onFailure {
|
||||
_currentState.value = PostCreateUIState.Fail
|
||||
}.onSuccess {
|
||||
|
Reference in New Issue
Block a user