Skip to content

Commit

Permalink
docs: update docs to correct path from change_password to change-pass…
Browse files Browse the repository at this point in the history
…word
  • Loading branch information
孔令飞 committed Mar 5, 2024
1 parent 17cfa77 commit 2775416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/zh-CN/api/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ Null
**输入示例**

```bash
curl -XPOST -H'Content-Type: application/json' -d'{
curl -XPOST -H'Content-Type: application/json' -H'Authorization: Basic $(echo -n 'foo:Foo@2020'|base64)' -d'{
"oldPassword": "Foo@2020",
"newPassword": "Foo@2021"
}' http://marmotedu.io:8080/v1/users/foo/change_password
}' http://marmotedu.io:8080/v1/users/foo/change-password
```

**输出示例**
Expand Down

0 comments on commit 2775416

Please sign in to comment.