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

Fetch userId from res.locals #59

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Fetch userId from res.locals #59

merged 2 commits into from
Nov 11, 2024

Conversation

arturgontijo
Copy link
Contributor

No description provided.

@arturgontijo arturgontijo merged commit af24512 into develop Nov 11, 2024
1 check passed
@arturgontijo arturgontijo deleted the artur-populatedUser branch November 11, 2024 12:18
laurogripa added a commit that referenced this pull request Nov 20, 2024
* Fetch userId from res.locals (#59)
* Fetch userId from res.locals
* Get _id from populatedUser.
* get lessons summary and admin middleware
* adding id parameter to delete lesson endpoint

---------

Co-authored-by: Artur Gontijo <arturgontijo@users.noreply.github.com>
Co-authored-by: Ewerton Onga <ewerton_onga@hotmail.com>
Co-authored-by: Lauro Gripa <laurogripa@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants