mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-14 14:59:07 +02:00
fix person creation
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user