From 1663687760f76a6776dccd835126d34b2d918feb Mon Sep 17 00:00:00 2001 From: lfg2 Date: Mon, 8 Jul 2024 22:27:47 +0800 Subject: [PATCH] fix: error msg --- backend/routes/nft.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/nft.go b/backend/routes/nft.go index aac6a465..b1a29c17 100644 --- a/backend/routes/nft.go +++ b/backend/routes/nft.go @@ -51,7 +51,7 @@ func setCanvasNFTAddress(w http.ResponseWriter, r *http.Request) { data, err := io.ReadAll(r.Body) if err != nil { - routeutils.WriteErrorJson(w, http.StatusBadRequest, "Failed to read reques t body") + routeutils.WriteErrorJson(w, http.StatusBadRequest, "Failed to read request body") return } os.Setenv("CANVAS_NFT_CONTRACT_ADDRESS", string(data))