Fix typing issue causing IDs to not be ==

What does this MR do and why?

Fix typing issue on ID comparison causing general users to not be able to delete their own API keys. Resolves #439 (closed)

How to set up and validate locally

  1. Create an API key for a general user (with super user account or general user account. It doesn't matter.
  2. Try to delete the API key.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Andrew

Merge request reports

Loading