From 2f9368a275a9a2de488ff3f2b2b723aedf4c31a8 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Wed, 4 Dec 2019 22:48:44 -0800 Subject: [PATCH] commenter_update.go: allow editing link, photo --- api/commenter_update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/commenter_update.go b/api/commenter_update.go index a16dd7f..f86f2b7 100644 --- a/api/commenter_update.go +++ b/api/commenter_update.go @@ -51,7 +51,7 @@ func commenterUpdateHandler(w http.ResponseWriter, r *http.Request) { return } - if c.Provider == "commento" { + if c.Provider != "commento" { *x.Link = c.Link *x.Photo = c.Photo }