瀏覽代碼

📝🐛 — Fix /api/subscribers/lists doc (#1594)

Luc Didry 1 年之前
父節點
當前提交
75befe5214
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docs/docs/content/apis/subscribers.md

+ 1 - 0
docs/docs/content/apis/subscribers.md

@@ -291,6 +291,7 @@ Modify subscriber list memberships.
 
 
 ```shell
 ```shell
 curl -u 'username:password' -X PUT 'http://localhost:9000/api/subscribers/lists' \
 curl -u 'username:password' -X PUT 'http://localhost:9000/api/subscribers/lists' \
+-H 'Content-Type: application/json' \
 --data-raw '{"ids": [1, 2, 3], "action": "add", "target_list_ids": [4, 5, 6], "status": "confirmed"}'
 --data-raw '{"ids": [1, 2, 3], "action": "add", "target_list_ids": [4, 5, 6], "status": "confirmed"}'
 ```
 ```