forked from mirrors/kingfisher
JWT tokens without both 'iss' and 'aud' are no longer reported as active credentials
This commit is contained in:
parent
d8624972ec
commit
d4e8900d37
4 changed files with 5 additions and 5 deletions
|
|
@ -60,7 +60,7 @@ pub struct GitHubRepoSpecifiers {
|
|||
pub all_organizations: bool,
|
||||
|
||||
/// Filter by repository type
|
||||
#[arg(long, default_value_t = GitHubRepoType::All, alias = "github-repo-type")]
|
||||
#[arg(long, default_value_t = GitHubRepoType::Source, alias = "github-repo-type")]
|
||||
pub repo_type: GitHubRepoType,
|
||||
}
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ pub enum GitHubRepoType {
|
|||
impl From<GitHubRepoType> for crate::github::RepoType {
|
||||
fn from(val: GitHubRepoType) -> Self {
|
||||
match val {
|
||||
GitHubRepoType::All => crate::github::RepoType::All,
|
||||
GitHubRepoType::Source => crate::github::RepoType::All,
|
||||
GitHubRepoType::Source => crate::github::RepoType::Source,
|
||||
GitHubRepoType::Fork => crate::github::RepoType::Fork,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue