split per app
This commit is contained in:
+2
-2
@@ -18,8 +18,8 @@ export default new Vuex.Store ({
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
async get_log ({ commit }) {
|
||||
const log = await fetch ('/log')
|
||||
async get_log ({ commit }, { app_id }) {
|
||||
const log = await fetch ('/log', { headers: { app_id } })
|
||||
.then ((res) => res.json ());
|
||||
commit ('set_log', log);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user