Lint project

This commit is contained in:
2019-10-10 22:50:24 +02:00
parent 194620e15b
commit f76f6f83bb
36 changed files with 81 additions and 118 deletions

View File

@@ -56,7 +56,7 @@ fun Route.comment(repo: CommentRepository) {
put<CommentPaths.CommentRequest> {
val comment = repo.findById(it.comment)!!
assertCan(UPDATE,comment)
assertCan(UPDATE, comment)
comment.content = call.receiveText()
repo.edit(comment)