Skip to content

Commit ff623d4

Browse files
committed
Merge branch '0.3.0' of https://github.com/TaleLin/lin-cms-vue into handle-error
2 parents bbd0929 + 604a9a1 commit ff623d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lin/models/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default class Admin {
134134
}
135135

136136
static async changePassword(new_password, confirm_password, id) {
137-
const res = await put(`cms/admin/password/${id}`, {
137+
const res = await put(`cms/admin/user/${id}/password`, {
138138
new_password,
139139
confirm_password,
140140
})

0 commit comments

Comments
 (0)