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

Error when trying to list customer credits in admin #32

Open
KabyleBOT opened this issue Jul 1, 2024 · 0 comments
Open

Error when trying to list customer credits in admin #32

KabyleBOT opened this issue Jul 1, 2024 · 0 comments

Comments

@KabyleBOT
Copy link

{"level":"error","message":"subquery in FROM must have an alias","stack":[{"columnNumber":19,"fileName":"D:\\Developpement\\noomidoo\\Ghilas-backstore\\node_modules\\typeorm\\driver\\postgres\\PostgresQueryRunner.js","functionName":"PostgresQueryRunner.query","lineNumber":219,"methodName":"query","native":false,"typeName":"PostgresQueryRunner"},{"columnNumber":5,"fileName":"node:internal/process/task_queues","functionName":"process.processTicksAndRejections","lineNumber":95,"methodName":"processTicksAndRejections","native":false,"typeName":"process"},{"columnNumber":20,"fileName":"D:\\Developpement\\noomidoo\\Ghilas-backstore\\node_modules\\typeorm\\data-source\\DataSource.js","functionName":"async DataSource.query","lineNumber":350,"methodName":"query","native":false,"typeName":"async DataSource"},{"columnNumber":25,"fileName":"D:\\Developpement\\noomidoo\\Ghilas-backstore\\node_modules\\@agilo\\medusa-plugin-store-credit\\dist\\repositories\\store-credit.js","functionName":"async ChildClass.listAndCountCustomers","lineNumber":96,"methodName":"listAndCountCustomers","native":false,"typeName":"async ChildClass"},{"columnNumber":47,"fileName":"D:\\Developpement\\noomidoo\\Ghilas-backstore\\node_modules\\@agilo\\medusa-plugin-store-credit\\dist\\services\\store-credit-customer.js","functionName":"async StoreCreditCustomerService.listAndCount","lineNumber":23,"methodName":"listAndCount","native":false,"typeName":"async StoreCreditCustomerService"},{"columnNumber":32,"fileName":"D:\\Developpement\\noomidoo\\Ghilas-backstore\\node_modules\\@agilo\\medusa-plugin-store-credit\\dist\\api\\routes\\admin\\store-credits\\list-customers.js","functionName":"async exports.default","lineNumber":45,"methodName":"default","native":false,"typeName":"async exports"}],"timestamp":"2024-07-01 13:15:36"}

We already have ceated a credit

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant