Flow Custom Function: Issues retrieving record from Zoho Creator

Flow Custom Function: Issues retrieving record from Zoho Creator

I am currently trying to write a custom function in Zoho Flow to get record details from Creator. I am not sure it it is a syntax issues or what. I am using the following code to get the records.

string getUnitMembers ( int params )
{
   response = zoho.creator.getRecords("[MyName]","[AppName]","Members_Details","Unit_Number==params");
   info response;
   return response;
}

This however gives me this message.

[
	{
		"message": "There is no records  match for this condition"
	}
]

Any ides here? I feel like it might be a syntax issue but I can't fine any reason as to why.