aboutsummaryrefslogtreecommitdiff
path: root/pkg/rest/gnsregistrar.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rest/gnsregistrar.go')
-rw-r--r--pkg/rest/gnsregistrar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rest/gnsregistrar.go b/pkg/rest/gnsregistrar.go
index acf4940..519cff0 100644
--- a/pkg/rest/gnsregistrar.go
+++ b/pkg/rest/gnsregistrar.go
@@ -345,7 +345,7 @@ func (t *Registrar) buyPage(w http.ResponseWriter, r *http.Request) {
345 http.Redirect(w, r, "/name/"+vars["label"] + "?error=Registration failed: Pending buy order", http.StatusSeeOther) 345 http.Redirect(w, r, "/name/"+vars["label"] + "?error=Registration failed: Pending buy order", http.StatusSeeOther)
346 return 346 return
347 } 347 }
348 orderID, newOrderErr := t.Merchant.AddNewOrder(*t.RegistrationCost, "GNS registrar name registration", "/name/" + vars["label"]) 348 orderID, newOrderErr := t.Merchant.AddNewOrder(*t.RegistrationCost, "GNS registrar name registration", t.BaseUrl + "/name/" + vars["label"])
349 if newOrderErr != nil { 349 if newOrderErr != nil {
350 fmt.Println(newOrderErr) 350 fmt.Println(newOrderErr)
351 http.Redirect(w, r, "/name/"+vars["label"] + "?error=Registration failed: Unable to create order", http.StatusSeeOther) 351 http.Redirect(w, r, "/name/"+vars["label"] + "?error=Registration failed: Unable to create order", http.StatusSeeOther)