Fixed typo in RestService that would lead to an exception