Skip to content

Commit

Permalink
fix: use correct patter for api_token
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Jan 26, 2024
1 parent 03be237 commit a64dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otterdog/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _get_credential_provider(self, provider_type: str) -> credentials.Credential
)

api_token_pattern = (
jq.compile('.defaults.pass.username_pattern // ""').input(self._configuration).first()
jq.compile('.defaults.pass.api_token_pattern // ""').input(self._configuration).first()
)

provider = PassVault(
Expand Down

0 comments on commit a64dd1d

Please sign in to comment.