tianyun 1 year ago
parent
commit
6c3c5cd3fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sh_config.sh

+ 1 - 1
sh_config.sh

@@ -311,7 +311,7 @@ memo() {
     data="{\"content\": \"$updatedContent\"}"
 
     # 发送请求
-    response=$(curl -X POST -H "Content-Type: application/json" \
+    response=$(curl -s -X POST -H "Content-Type: application/json" \
     -H "Authorization: bearer eyJhbGciOiJIUzI1NiIsImtpZCI6InYxIiwidHlwIjoiSldUIn0.eyJuYW1lIjoidGlhbnl1bnBlcmZlY3QiLCJpc3MiOiJtZW1vcyIsInN1YiI6IjEiLCJhdWQiOlsidXNlci5hY2Nlc3MtdG9rZW4iXSwiaWF0IjoxNzA5MTc5NTUyfQ.LFxWB4efya1sL7VoJ42xpXxbAip-udT_Kx2OwZ8Y3-E" \
     -d "$data" \
     "https://memos.tianyunperfect.cn/api/v1/memo")