Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 78c53be

Browse files
author
孔令飞
committedMar 5, 2024·
docs: update docs to correct path from change_password to change-password
1 parent 17cfa77 commit 78c53be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/guide/zh-CN/api/user.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ Null
164164
**输入示例**
165165

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

173173
**输出示例**

0 commit comments

Comments
 (0)
Please sign in to comment.