mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-29 16:47:58 +08:00
Add golangci (#6418)
This commit is contained in:
@ -220,8 +220,7 @@ func GetDefaultProfileURL(provider string) string {
|
||||
|
||||
// GetDefaultEmailURL return the default email url for the given provider
|
||||
func GetDefaultEmailURL(provider string) string {
|
||||
switch provider {
|
||||
case "github":
|
||||
if provider == "github" {
|
||||
return github.EmailURL
|
||||
}
|
||||
return ""
|
||||
|
Reference in New Issue
Block a user