Skip to content

Commit

Permalink
Update X-adsws-uid to X-api-uid (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjacovich authored Dec 20, 2024
1 parent 3a4a3cb commit 236d707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion biblib/tests/unit_tests/test_pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def test_library_pagination_user_supplied(self):
})


r = self.client.get(url, headers={'X-Adsws-Uid': self.stub_user.absolute_uid})
r = self.client.get(url, headers={'X-api-uid': self.stub_user.absolute_uid})


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion biblib/views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Constant definitions
DEFAULT_LIBRARY_NAME_PREFIX = 'Untitled Library'
DEFAULT_LIBRARY_DESCRIPTION = 'My ADS library'
USER_ID_KEYWORD = 'X-Adsws-Uid'
USER_ID_KEYWORD = 'X-api-uid'

from .base_view import BaseView
from .user_view import UserView
Expand Down

0 comments on commit 236d707

Please sign in to comment.