-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set token and language headers in AJAX requests
This change sets the 'Authorization' token header and 'X-Accept-Language' header in AJAX requests if they are not already present. The token is retrieved from local storage, and the language is obtained from the current user's settings. This ensures that authenticated requests include the necessary authorization and language information. No further issues are affected by this change.
- Loading branch information
Showing
2 changed files
with
10 additions
and
7 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