medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Endpoint /store/customers/me is not expanding relations

Open pevey opened this issue 1 year ago • 9 comments

Bug report

Describe the bug

The store/customers/me endpoint does not expand relations.

A request to

http://localhost:9000/store/customers/me?expand=groups

returns a 200 response that does not include groups as expected. Similarly, a request to

http://localhost:9000/stores/customers/me?expand=orders

returns a 200 response that does not include orders.

System information

Medusa version (including plugins): 1.15.0 Node.js version: 18.17.1 Database: postgres Operating system: ubuntu Browser (if relevant):

Link to relevant Discord thread: https://discord.com/channels/876835651130097704/1124319911745949787

pevey avatar Sep 16 '23 14:09 pevey