Fix url of setting user avatar

This commit is contained in:
printempw 2017-07-13 21:24:05 +08:00
parent 104f5a32a7
commit a51523e54c

View File

@ -222,7 +222,7 @@ function setAsAvatar(tid) {
showCancelButton: true
}).then(() => fetch({
type: 'POST',
url: url('profile/avatar'),
url: url('user/profile/avatar'),
dataType: 'json',
data: { tid: tid }
})).then(result => {