Adding query to useMoralisSubscription

I’m implementing event sync and useMoralisSubscription. Works very well. However I want to add a query and only run the subscription callback if the query matches.

For example:
useMoralisSubscription(“TableName”, q => q.equalTo(“columnName”, “columnValue”),[],onCreate() => console.log(“event fired”))

This doesn’t seem to fire the event on the client side. Am I missing something or using the hook incorrectly?

Thanks.

This was in fact working correctly, I made a mistake.
The above code works.