Skip to content

Commit

Permalink
bearer to basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-kukreja authored Jun 7, 2022
1 parent c205809 commit 8372e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ees_sharepoint/enterprise_search_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, logger, config, args):
if self.version >= ENTERPRISE_V8:
if hasattr(args, "user") and args.user:
self.workplace_search_client = WorkplaceSearch(
self.host, bearer_auth=(args.user, args.password)
self.host, basic_auth=(args.user, args.password)
)
else:
self.workplace_search_client = WorkplaceSearch(
Expand Down

0 comments on commit 8372e54

Please sign in to comment.