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 `