Skip to content

Commit

Permalink
updateTaskWhen -> private
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleLightCz committed Apr 7, 2018
1 parent 42c5eaa commit a987a9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ object TasksController {
}
}

fun Routing.updateTaskWhen(postPath: String, taskMutation: (Task) -> Unit) {
private fun Routing.updateTaskWhen(postPath: String, taskMutation: (Task) -> Unit) {
post(postPath) {
call.parameters["id"]?.let { id -> updateTask(id.toLong(), taskMutation) }
call.respond(OK)
Expand Down

0 comments on commit a987a9f

Please sign in to comment.