diff --git a/internal/request/request.go b/internal/request/request.go index f80cd8f75c8df41643f012b1232dd839a49fc456..13bf42dfb36527b0421dc69493811e5f92ac842e 100644 --- a/internal/request/request.go +++ b/internal/request/request.go @@ -25,7 +25,7 @@ type GeneralFormat map[string]interface{} func SendAQLQuery(AQLQuery string) (*[]byte, error) { var queryResult []Document conn, err := http.NewConnection(http.ConnectionConfig{ - Endpoints: []string{"http://arangodb.database.svc.cluster.local:8529"}, + Endpoints: []string{"https://aae8f5c054da.arangodb.cloud:8529"}, }) if err != nil { log.Println("could not connect to database") // Handle error @@ -33,7 +33,7 @@ func SendAQLQuery(AQLQuery string) (*[]byte, error) { } c, err := driver.NewClient(driver.ClientConfig{ Connection: conn, - Authentication: driver.BasicAuthentication("root", "DikkeDraak"), + Authentication: driver.BasicAuthentication("root", "kXR0PFepIVm3EqgQ2MVc"), }) if err != nil { log.Println("Could not log in to the ArangoDB") // Handle error