API response permissions are not being created properly.
To Reproduce
1) Create an auth instance with an API key
2) Take the session ID and send a request to the URL in the description above (LuckPerms), check the permission response output.
It will look like this when using a session created via an auth key (the key has view_public_info checked)
{
"type": "project",
"permissions": []
}
When you use a session created without an auth key, it will look like this:
Describe the bug
API response permissions are not being created properly.
To Reproduce
1) Create an auth instance with an API key 2) Take the session ID and send a request to the URL in the description above (LuckPerms), check the permission response output.
It will look like this when using a session created via an auth key (the key has view_public_info checked)
When you use a session created without an auth key, it will look like this:
Expected behavior
Apikey sessions to have the
view_public_info
when selected during creation.Screenshots
Environment
Additional context