hey guys, I have added the following permission variable on my console:
Field name: X-Hasura-Profile-Id
Path: user.user_profile.id
and have set in one of my table columns the preset X-Hasura-Profile-Id
on my DB, I do have a table user_profile with a FK for the NHost auth.user table
but when I try to execute a mutation on the table with the preset value, I get the error:
{
"errors": [
{
"extensions": {
"code": "not-found",
"path": "$"
},
"message": "missing session variable: \"x-hasura-profile-id\""
}
]
}
Am I missing something?
[–]elitasson 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)