fix(post): query is now not missing a }
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
6760948e73
commit
ca69008607
@ -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
|
||||
`
|
||||
|
||||
|
Reference in New Issue
Block a user