service: fix parameter type for attribute