mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 19:50:37 +00:00
Removed client side armoire call (#9660)
This commit is contained in:
parent
1fc84c2357
commit
860efefdb2
1 changed files with 0 additions and 8 deletions
|
|
@ -41,14 +41,6 @@ async function buyArmoire (store, params) {
|
||||||
const quantity = params.quantity || 1;
|
const quantity = params.quantity || 1;
|
||||||
let armoire = content.armoire;
|
let armoire = content.armoire;
|
||||||
|
|
||||||
buyOp(store.state.user.data, {
|
|
||||||
params: {
|
|
||||||
key: 'armoire',
|
|
||||||
},
|
|
||||||
type: 'armoire',
|
|
||||||
quantity,
|
|
||||||
});
|
|
||||||
|
|
||||||
// We need the server result because Armoire has random item in the result
|
// We need the server result because Armoire has random item in the result
|
||||||
let result = await axios.post('/api/v3/user/buy/armoire', {
|
let result = await axios.post('/api/v3/user/buy/armoire', {
|
||||||
type: 'armoire',
|
type: 'armoire',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue