From dd54d20a1c5dff58bd2f38730ef46a94ef3fe961 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Wed, 10 Nov 2021 19:39:54 +0100 Subject: [PATCH] Fix --- webmentionVerification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webmentionVerification.go b/webmentionVerification.go index 41db2ff..65f9616 100644 --- a/webmentionVerification.go +++ b/webmentionVerification.go @@ -123,7 +123,7 @@ func (a *goBlog) verifyMention(m *mention) error { } // Update webmention _, err = a.db.exec( - "update webmentions set url = @newsource, status = @status, title = @title, content = @content, author = @author where lowerx(source) = lowerx(@source) and lowerx(target) = lowerx(@target)", + "update webmentions set source = @newsource, status = @status, title = @title, content = @content, author = @author where lowerx(source) = lowerx(@source) and lowerx(target) = lowerx(@target)", sql.Named("newsource", defaultIfEmpty(m.NewSource, m.Source)), sql.Named("status", newStatus), sql.Named("title", m.Title),