clean warnings

This commit is contained in:
flecomte committed 2021-03-03 03:16:09 +01:00
1 parent d9deb4836e
commit 9fc21f5459
6 files changed
+10 -11

No files matched your search

@@ -78,10 +78,10 @@ fun createCommentOnTarget(
content: String? = null
) {
val commentRepository: CommentRepository by lazy { GlobalContext.get().koin.get() }
val createdBy = createCitizen(createdBy)
val creator = createCitizen(createdBy)
val comment = CommentForUpdate(
id = id ?: UUID.randomUUID(),
createdBy = createdBy,
createdBy = creator,
target = target,
content = content ?: LoremIpsum().getParagraphs(1, 3)
)