unkey
unkey copied to clipboard
Invalid count for keys attached to permissions
Preliminary Checks
-
[x] I have reviewed the documentation: https://unkey.com/docs
-
[x] I have searched for existing issues: https://github.com/unkeyed/unkey/issues
-
[x] This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
The first count is just wrong; there is a key that has this permission The second count just counts all deleted keys I assume?
Steps to Reproduce
Create permission
Attach to two keys
delete a key
check again
Expected behavior
To see the correct count
Other information
No response
Screenshots
No response
Version info
- OS:
- Node:
- npm:
I think I found the reason, working on a PR