write simple setup helper function
This commit is contained in:
parent
97b26a3007
commit
72f3923866
10
setup.js
Normal file
10
setup.js
Normal file
@ -0,0 +1,10 @@
|
||||
const SeedAPIData = require('./app/SeedAPIData.patch')
|
||||
const SeedWeeklyPlayerData = require('./app/SeedWeeklyPlayerData.patch')
|
||||
|
||||
module.exports = exports = async function(di) {
|
||||
const api_patch = di.make(SeedAPIData)
|
||||
await api_patch.run()
|
||||
|
||||
const player_patch = di.make(SeedWeeklyPlayerData)
|
||||
await player_patch.run()
|
||||
}
|
Loading…
Reference in New Issue
Block a user