From 40ce69567a3dead4f7d84e2acadf6a03c2972fe7 Mon Sep 17 00:00:00 2001 From: soxx Date: Fri, 21 Jun 2024 14:16:03 +0200 Subject: [PATCH] dix(postgres): wrong parameters Signed-off-by: soxx --- pkg/database/postgres.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/database/postgres.go b/pkg/database/postgres.go index c283bea..14c4003 100644 --- a/pkg/database/postgres.go +++ b/pkg/database/postgres.go @@ -54,7 +54,7 @@ func (p *postgresqlConnection) Connect(_ context.Context, endpoint string, usern } func (p *postgresqlConnection) AddUserWithRelationToSource(ctx context.Context, anthroveUserID models.AnthroveUserID, sourceDomain string, userID string, username string) error { - return postgres.CreateUserNodeWithSourceRelation(ctx, p.db, anthroveUserID, userID, sourceDomain, userID) + return postgres.CreateUserNodeWithSourceRelation(ctx, p.db, anthroveUserID, sourceDomain, userID, userID) } func (p *postgresqlConnection) AddSource(ctx context.Context, anthroveSource *graphModels.AnthroveSource) error {