Cleanup backend handler

This commit is contained in:
Dan Sosedoff
2018-12-01 22:35:11 -06:00
parent 72af00f1b7
commit a5b8e02a98
2 changed files with 10 additions and 11 deletions

View File

@@ -97,7 +97,7 @@ func ConnectWithBackend(c *gin.Context) {
c.Request.Header.Add("x-session-id", sessionId)
// Connect to the database
cl, err := client.NewFromUrl(cred.DatabaseUrl, nil)
cl, err := client.NewFromUrl(cred.DatabaseURL, nil)
if err != nil {
badRequest(c, err)
return