Skip to content

Commit

Permalink
use registered_domain to search in bitwarden (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
LawyZheng authored Oct 8, 2024
1 parent 6f16510 commit 78c0a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyvern/forge/sdk/services/bitwarden.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ async def _get_secret_value_from_url(
BitwardenService.sync()
session_key = BitwardenService.unlock(master_password)

# Extract the domain from the URL and search for items in Bitwarden with that domain
domain = tldextract.extract(url).domain
# Extract the domain(with suffix) from the URL and search for items in Bitwarden with that domain
domain = tldextract.extract(url).registered_domain
list_command = [
"bw",
"list",
Expand Down

0 comments on commit 78c0a91

Please sign in to comment.