fix(post): query is now not missing a }

Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
SoXX 2024-05-31 14:47:49 +02:00
parent 6760948e73
commit ca69008607

View File

@ -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
`