Skip to content

fix: restore GET /api/v1/users/me/learning-path route registration - #449

Merged
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
Mercy017:feat/user-learning-path-endpoint
Aug 31, 2026
Merged

fix: restore GET /api/v1/users/me/learning-path route registration#449
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
Mercy017:feat/user-learning-path-endpoint

Conversation

@Mercy017

Copy link
Copy Markdown
Contributor

Summary

The route registration for GET /me/learning-path in src/modules/users/user.routes.ts was already wired up to userController.getLearningPath — and that controller method, along with userService.getLearningPath, was already fully implemented — but the route registration was missing its closing );. The handler callback ran straight into the next app.get<...>( call with no statement terminator, a syntax error breaking parsing of the entire file (and therefore the whole route module).

Fixes the syntax error and adds e2e coverage for the endpoint (auth rejection, and the shape of the returned recommendation array), matching the tolerance pattern already used by the other /me/* tests in this file for environments without a seeded user.

Closes #351
Closes #359
Closes #365
Closes #364

…hainLearnOfficial#359)

The route registration for /me/learning-path was already wired up to
userController.getLearningPath (itself fully implemented, along with
userService.getLearningPath), but was missing its closing ');' --
the route handler callback ran straight into the next app.get<...>(
call with no statement terminator, a syntax error that broke parsing
of the entire file.

Fixes the syntax error and adds e2e coverage (auth rejection + shape
of the returned recommendation array), matching the tolerance pattern
already used by the other /me/* tests in this file for environments
without a seeded user.

Closes ChainLearnOfficial#351
Closes ChainLearnOfficial#359
Closes ChainLearnOfficial#365
Closes ChainLearnOfficial#364
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@Mercy017 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@DeFiVC
DeFiVC merged commit d1594cd into ChainLearnOfficial:main Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants