netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.24k stars 517 forks source link

[management] Refactor routes to use store methods #2928

Open bcmmbaga opened 15 hours ago

bcmmbaga commented 15 hours ago

Describe your changes

Remove calls to get and save whole account in routes operations.

Issue ticket number and link

Checklist

sonarcloud[bot] commented 3 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud