Browse Source

修订文档错误

drake 3 years ago
parent
commit
79420613af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/upload-file.md

+ 1 - 1
docs/upload-file.md

@@ -2,7 +2,7 @@
 
 ```kotlin
 scopeNetLife {
-    Post<String>("upload", requireContext().cacheDir.path) {
+    Post<String>("upload") {
         file("fileName", assetsFile())
     }.await()
 }