From b29147a95b4a82d3a58cc76ed9f16456796e3011 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Thu, 13 Feb 2020 19:21:19 -0500 Subject: [PATCH] commenter_update.go: make link optional --- api/commenter_update.go | 2 +- frontend/profile.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/commenter_update.go b/api/commenter_update.go index f86f2b7..3446995 100644 --- a/api/commenter_update.go +++ b/api/commenter_update.go @@ -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 } diff --git a/frontend/profile.html b/frontend/profile.html index 206136f..672211f 100644 --- a/frontend/profile.html +++ b/frontend/profile.html @@ -42,7 +42,7 @@