-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As requested in code review. The addUserIDToLogger method was made general-purpose. In addition, instead of using it only on those handlers that have a userId/clinicId parameter, it's used as a generic middleware on all requests. This small performance hit makes it so that any future endpoints that are added will automatically log userid and clinicid, plus the endpoint definition code is a bit cleaner, as it's not having to call uid helpers all over the place. BACK-2500
- Loading branch information
Showing
3 changed files
with
81 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters