From 293881f0072d367fa2075d775e6151d80398b551 Mon Sep 17 00:00:00 2001 From: soxx Date: Fri, 16 Feb 2024 23:20:05 +0100 Subject: [PATCH] fix: removed unneeded pointer --- internal/tag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tag.go b/internal/tag.go index e3a208d..ab26434 100644 --- a/internal/tag.go +++ b/internal/tag.go @@ -8,7 +8,7 @@ import ( log "github.com/sirupsen/logrus" ) -func CreateTagNodeWitRelation(ctx context.Context, driver neo4j.DriverWithContext, anthrovePostID *models.AnthrovePostID, anthroveTag *models.AnthroveTag) error { +func CreateTagNodeWitRelation(ctx context.Context, driver neo4j.DriverWithContext, anthrovePostID models.AnthrovePostID, anthroveTag *models.AnthroveTag) error { query := ` MATCH (anthrovePost:AnthrovePost {post_id: $anthrove_post_id}) MERGE (tagNode:Tag {name: $tag_name, type: $tag_type})