Skip to content

fix: Strapi user relations #340

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

mateusz-kleszcz
Copy link
Contributor

Ticket

#333

Summary

PR ensures that Strapi users are related to the User collection from plugin::users-permissions.user. This way, the username, email, and avatar should be connected to the User data, and in the case of an update, they should be populated in the comment data.

Test Plan

  • Test all endpoints for the Strapi and Non-Strapi users, see if Avatars are populated correctly.

@mateusz-kleszcz mateusz-kleszcz self-assigned this Aug 14, 2025
@mateusz-kleszcz mateusz-kleszcz added bug Something isn't working v5 labels Aug 14, 2025
Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.78%. Comparing base (51ec01e) to head (286a60e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #340      +/-   ##
==========================================
+ Coverage   90.59%   90.78%   +0.19%     
==========================================
  Files          37       37              
  Lines         978      977       -1     
  Branches      237      237              
==========================================
+ Hits          886      887       +1     
+ Misses         91       89       -2     
  Partials        1        1              
Flag Coverage Δ
unittest 90.78% <100.00%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant