commenter_update.go: make link optional

This commit is contained in:
Adhityaa Chandrasekar
2020-02-13 19:21:19 -05:00
parent b3f2cf3064
commit b29147a95b
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import (
)
func commenterUpdate(commenterHex string, email string, name string, link string, photo string, provider string) error {
if email == "" || name == "" || link == "" || photo == "" || provider == "" {
if email == "" || name == "" || photo == "" || provider == "" {
return errorMissingField
}