Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
getUser
implementation got moved to@app/lib/data
:However, during the update of
auth.ts
, somehowgetUser
got decided to retained inauth.ts
(which might be a result of a git conflict or intended to bundle seperatly)next-auth
v5 #219and the one that moved in
@app/lib/data
was not removed.getUser
in the@app/lib/data
is no longer in use.auth.ts
Therefore, shouldn't we remove the unused one left in
@app/lib/data
unless it was unintentional ?or we could consider removing the one in
auth.ts
with updating Chapter 15 mdx (don't forget to update type assertion to generic.)In any case, one of them should be removed.
Thank you for the amazing course.