Fix url of setting user avatar
This commit is contained in:
parent
104f5a32a7
commit
a51523e54c
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user