From 30f688dbe283106162de80ad1759322794ecbf03 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 26 Aug 2021 22:06:34 +0200 Subject: some more little fixes for all to enjoy (#161) --- internal/db/bundb/relationship.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db/bundb/relationship.go') diff --git a/internal/db/bundb/relationship.go b/internal/db/bundb/relationship.go index ed144669e..95426f122 100644 --- a/internal/db/bundb/relationship.go +++ b/internal/db/bundb/relationship.go @@ -237,7 +237,7 @@ func (r *relationshipDB) AcceptFollowRequest(ctx context.Context, originAccountI if _, err := r.conn. NewInsert(). Model(follow). - On("CONFLICT CONSTRAINT follows_account_id_target_account_id_key DO UPDATE set uri = ?", follow.URI). + On("CONFLICT ON CONSTRAINT follows_account_id_target_account_id_key DO UPDATE set uri = ?", follow.URI). Exec(ctx); err != nil { return nil, processErrorResponse(err) } -- cgit v1.2.3