From ca67dead2bb0ebba82d5a9191e3a1bc4f63c8452 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Mon, 15 Apr 2024 23:56:52 +0200 Subject: [PATCH] add createRelationship as a handler --- backend/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/main.go b/backend/main.go index 660d818..ba057d0 100644 --- a/backend/main.go +++ b/backend/main.go @@ -46,6 +46,7 @@ func main() { router.GET("/health", hc.HealthCheckHandler()) router.GET("/person", handlers.ViewPerson(memgraphDriver)) router.POST("/createPerson", handlers.CreatePerson(memgraphDriver)) + router.POST("/createRelationship", handlers.CreateRelationship(memgraphDriver)) server := utilities.SetupHttpsServer(router, *cert, *key, *httpsPort, *httpPort, requestTimeout)