mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +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;
|
||||
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
|
||||
let result = await axios.post('/api/v3/user/buy/armoire', {
|
||||
type: 'armoire',
|
||||
|
|
|
|||
Loading…
Reference in a new issue