Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix user role error on saving settings #279

Merged
merged 6 commits into from
Mar 14, 2024

Conversation

pedro-mendonca
Copy link
Contributor

This PR adds an empty user role array before pushing any new user role.

Fixes #278

@stklcode stklcode self-assigned this Mar 14, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@stklcode
Copy link
Contributor

Thanks! ... and sorry for hijacking the PR 😉

Changes are good, just took the chance to add a unit test for the affected method (that fails without the change due to type errors)

@pluginkollektiv pluginkollektiv deleted a comment from sonarqubecloud bot Mar 14, 2024
@stklcode stklcode added the bug label Mar 14, 2024
@stklcode stklcode added this to the 2.0.0 milestone Mar 14, 2024
@stklcode stklcode merged commit 77a8873 into pluginkollektiv:develop Mar 14, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User role error on save settings
3 participants