routing the rest of implemented features, hits response problem
This commit is contained in:
1 parent
ed3ac2abcb
commit
edf236ef8c
5 files changed
+60
-9
No files matched your search
@@ -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