Im getting the following error at the end of this lesson after completing all the instructyions:
The annonymous Apex function has no parameters passed to it
System.debug(HouseService.getRecords());
How can i pass the parameter in the SOQL that name = 'Stunning Victorian'
Its weird that im getting this error but nowhere in the instructions is it asking for the apex function to return a single record
Any help would be appreciated :)
4 answers
Hi @Mario Lisbona,
I'm a member of the Trailblazer Help team. Please feel free to mark the correct answer as best answer. So that will help other Trailblazers to find the correct answer. Thank you!
Best Regards,
Ravindra
Trailblazer Help