tutorial adapter: fix API change

command ->
type