You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
Fix linter (#1647)
This commit is contained in:
@@ -137,7 +137,7 @@ func (c *client) Login(ctx context.Context, res http.ResponseWriter, req *http.R
|
||||
}
|
||||
|
||||
// Auth returns the GitHub user login for the given access token.
|
||||
func (c *client) Auth(ctx context.Context, token, secret string) (string, error) {
|
||||
func (c *client) Auth(ctx context.Context, token, _ string) (string, error) {
|
||||
client := c.newClientToken(ctx, token)
|
||||
user, _, err := client.Users.Get(ctx, "")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user