It does not use that Report until later on. It is not important right now.
The getUser(PIN)
query is supposed to return data about the User whose PIN matches. Your query is not returning anything - it is empty basically (“data” has nothing in it). The response should not be empty; it should look like this:
{
"data": {
"user": {
"name": "Ovania",
"userRole": {
"name": "Manager",
"isAdmin": false
}
}
},
"errors": null
}
What version of SambaPOS are you running?
No idea why it is not returning data. Look for other graphql responses to see if you can find any error messages.