[server][RestResourceAction] fix typo

tyoe ->
type

:<