[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.dev/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
When users attempt to update their API names without making any actual changes, the system is still triggering unnecessary database calls. The bug occurs during the update process, even when there is no modification made to the user's name.
Steps to Reproduce
Log in to the application
Navigate to the API settings.
Click on the "Save" button to save the API name.
Expected behavior
The system should recognize that there are no actual changes made to the API's name and should not initiate any database calls or updates.
Preliminary Checks
[X] I have reviewed the documentation: https://unkey.dev/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.dev/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
When users attempt to update their API names without making any actual changes, the system is still triggering unnecessary database calls. The bug occurs during the update process, even when there is no modification made to the user's name.
Steps to Reproduce
Expected behavior
The system should recognize that there are no actual changes made to the API's name and should not initiate any database calls or updates.
Other information
No response
Screenshots
https://github.com/unkeyed/unkey/assets/87828904/b66db6c4-f2cd-4994-b2ae-070c0160ca37
Version info