Fix url of setting user avatar
This commit is contained in:
parent
104f5a32a7
commit
a51523e54c
@ -222,7 +222,7 @@ function setAsAvatar(tid) {
|
|||||||
showCancelButton: true
|
showCancelButton: true
|
||||||
}).then(() => fetch({
|
}).then(() => fetch({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: url('profile/avatar'),
|
url: url('user/profile/avatar'),
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
data: { tid: tid }
|
data: { tid: tid }
|
||||||
})).then(result => {
|
})).then(result => {
|
||||||
|
Loading…
Reference in New Issue
Block a user