From ca6900860763537f5c7b3362cb8b95005ffc67f4 Mon Sep 17 00:00:00 2001 From: SoXX Date: Fri, 31 May 2024 14:47:49 +0200 Subject: [PATCH] fix(post): query is now not missing a } Signed-off-by: SoXX --- internal/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/post.go b/internal/post.go index 01872f5..ac3e248 100644 --- a/internal/post.go +++ b/internal/post.go @@ -35,7 +35,7 @@ func CreateAnthrovePostNode(ctx context.Context, driver neo4j.DriverWithContext, // DeleteAnthrovePostNode will always delete a node, it only needs the anthrovePost.PostID filled out. func DeleteAnthrovePostNode(ctx context.Context, driver neo4j.DriverWithContext, anthrovePost *models.AnthrovePost) error { query := ` - MATCH (anthrovePost:AnthrovePost {post_id: $anthrove_post_id) + MATCH (anthrovePost:AnthrovePost {post_id: $anthrove_post_id}) DELETE anthrovePost `