i\'m trying to push notification to a specific user in my User Table, but my function didn\'t work and i don\'t understand why.
func testPush(){ let mess
The issue is in the line:
query.whereKey("currentUser", equalTo: userQuery)
It should be:
query.whereKey("currentUser", matchesQuery: userQuery)
I hope this solves the issue.