aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/export.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-04 22:05:34 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-08 17:19:57 +0100
commit646fd681ffba59d4a74ec3d99558d2ed70b0106b (patch)
tree377a8b82701690fa1648d393a39034e0b6a77539 /bridge/github/export.go
parentf515b9a1291ddd3e4fe1b43bf5891ab19569e33f (diff)
downloadgit-bug-646fd681ffba59d4a74ec3d99558d2ed70b0106b.tar.gz
it compiles \o/
Diffstat (limited to 'bridge/github/export.go')
-rw-r--r--bridge/github/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/export.go b/bridge/github/export.go
index 1e27be4a..c363e188 100644
--- a/bridge/github/export.go
+++ b/bridge/github/export.go
@@ -76,7 +76,7 @@ func (ge *githubExporter) Init(repo *cache.RepoCache, conf core.Configuration) e
}
login := user.ImmutableMetadata()[metaKeyGithubLogin]
- creds, err := auth.List(repo, auth.WithMeta(metaKeyGithubLogin, login), auth.WithTarget(target), auth.WithKind(auth.KindToken))
+ creds, err := auth.List(repo, auth.WithMeta(auth.MetaKeyLogin, login), auth.WithTarget(target), auth.WithKind(auth.KindToken))
if err != nil {
return err
}