Fix GraphQL userNotesCount when not logged in
What does this MR do and why?
Fix GraphQL userNotesCount when not logged in
Changelog: fixed
Screenshots or screen recordings
Before:
After:
How to set up and validate locally
- Find a group with some issues
- While still logged in, run a GraphQL query to ensure data is coming back http://gdk.test:3000/-/graphql-explorer:
query { group(fullPath: "flightjs") { issues(first: 5) { nodes { id iid webUrl userNotesCount } } } }
- Now logout and run the same query
🤞
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #426016
Edited by Lee Tickett