routing the rest of implemented features, hits response problem
This commit is contained in:
@@ -161,7 +161,10 @@ export default {
|
||||
this.activeView = viewId;
|
||||
},
|
||||
addNewLoot () {
|
||||
api.fetch("admin/add-loot", "POST", this.pending_loot)
|
||||
api.fetch("players/0/loot", "POST", {
|
||||
source_name: "Dummy name",
|
||||
items: this.pending_loot,
|
||||
})
|
||||
.then(() => {
|
||||
this.pending_loot = []
|
||||
this.switchView('group');
|
||||
|
||||
Reference in New Issue
Block a user