fix person creation

This commit is contained in:
2024-05-17 01:52:58 +02:00
parent ab2fd071e0
commit 069d9317a3
5 changed files with 7 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ func CreatePerson(driver neo4j.DriverWithContext) gin.HandlerFunc {
return
}
person.ID = c.GetString("id")
rec, err := person.CreatePerson(driver)
if err != nil {
log.Printf("ip: %s error: %s", c.ClientIP(), err.Error())