From aadb9f6cafe9ad8a50a4993884e46f171453995d Mon Sep 17 00:00:00 2001 From: Zhang Minghan <112773885+zmh-program@users.noreply.github.com> Date: Sun, 15 Oct 2023 09:04:49 +0800 Subject: [PATCH] fix docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 693ba1c..049b663 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ if quota, err := instance.GetQuota(); err == nil { } // buy quota -if quota, err := instance.BuyQuota(100); err == nil { +if err := instance.BuyQuota(100); err == nil { fmt.Println("bought successfully") } ```