Auth fixed
This commit is contained in:
@@ -16,6 +16,6 @@ class MinByNameCommand(@Contextual private val manager: CollectionManager) : Com
|
||||
override val type = CommandType.SIMPLE
|
||||
override val args = listOf(CommandArgType.NONE)
|
||||
|
||||
override fun execute(args: List<String>, humanBeing: HumanBeing?): Response =
|
||||
override fun execute(args: List<String>, humanBeing: HumanBeing?, userId: String): Response =
|
||||
Response(true, manager.minByName()?.toString() ?: "Коллекция пуста.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user