mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix allocate() function in (#9105)
website/client/components/userMenu/profile.vue
This commit is contained in:
committed by
Keith Holliday
parent
7671347d3a
commit
d89fc209d1
@@ -795,7 +795,7 @@ export default {
|
|||||||
return display;
|
return display;
|
||||||
},
|
},
|
||||||
allocate (stat) {
|
allocate (stat) {
|
||||||
allocate(this.user, stat);
|
allocate(this.user, {query: { stat }});
|
||||||
axios.post(`/api/v3/user/allocate?stat=${stat}`);
|
axios.post(`/api/v3/user/allocate?stat=${stat}`);
|
||||||
},
|
},
|
||||||
allocateNow () {
|
allocateNow () {
|
||||||
|
|||||||
Reference in New Issue
Block a user