gondole.go
changeset 37 a0d3e7265cd2
parent 34 69711df3beac
child 43 e52d68c19cb0
--- a/gondole.go	Mon Apr 10 16:20:02 2017 +0200
+++ b/gondole.go	Mon Apr 10 16:20:38 2017 +0200
@@ -20,7 +20,7 @@
 
 // prepareRequest insert all pre-defined stuff
 func (g *Gondole) prepareRequest(what string) (req rest.Request) {
-	endPoint := APIEndpoint + fmt.Sprintf("/%s/", what)
+	endPoint := APIEndpoint + fmt.Sprintf("/%s", what)
 
 	// Add at least one option, the APIkey if present
 	hdrs := make(map[string]string)