Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Changes to persist user if internal request and user was explicitly p… #9085

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

hanzlamateen
Copy link
Member

@hanzlamateen hanzlamateen commented Oct 18, 2023

…assed.

Summary

🤖 Generated by Copilot at 6180382

Added user object to async local storage in authenticate.ts hook. This allows other modules to access the user information for logging or error handling purposes.

References

closes #insert number here

Explanation

🤖 Generated by Copilot at 6180382

  • Enable the use of the user object in async local storage by checking and entering it in the authenticate hook (link)

🤖 Generated by Copilot at 6180382

context has user
enter async storage now
autumn of errors

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewers

@barankyle barankyle added this pull request to the merge queue Oct 18, 2023
Merged via the queue into dev with commit 027fd46 Oct 18, 2023
12 of 14 checks passed
@barankyle barankyle deleted the persist-internal-user branch October 18, 2023 18:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants