diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-12-09 21:12:37 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-12-09 21:12:37 +0100 |
commit | 43475d79eca8b4ae392374e09e58b16397d80c78 (patch) | |
tree | e5a0f5678f42527170edc8491c114e3b4d114315 | |
parent | 295a6eb24c49fdef8c2b0142b5a0855650c171ca (diff) | |
download | gnunet-gns-registrar-43475d79eca8b4ae392374e09e58b16397d80c78.tar.gz gnunet-gns-registrar-43475d79eca8b4ae392374e09e58b16397d80c78.zip |
Fix fulfillment Url
-rw-r--r-- | pkg/rest/gnsregistrar.go | 2 |
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) |