Skip to content

The populate=* query param not working for /me endpoint #13296

@dimonenkov

Description

@dimonenkov

Bug report

Required System information

  • Node.js version: v16.15.0
  • NPM version: 8.5.5
  • Strapi version: 4.1.10
  • Database: SQLite
  • Operating system: Linux

Describe the bug

The populate=* query param for deep nested component fields is not working for /me endpoint.
For example, users/?populate=* or users/1?populate=* are returning deep nested component relations but users/me?populate=* doesn't.

Steps to reproduce the behavior

n/a

Expected behavior

The populate=* query parameter should work for the /me endpoint, just like the other endpoints.

Screenshots

n/a.

Code snippets

n/a

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solvesource: plugin:users-permissionsSource is plugin/users-permissions packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

    Type

    No type

    Projects

    Status

    Archived

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions