Regioagenda in sidebar

This commit is contained in:
2020-02-01 01:07:21 +01:00
parent 27dbd9bb0c
commit 5e7e16e25e
8 changed files with 39 additions and 0 deletions

View File

@@ -44,6 +44,11 @@ class Kernel extends ConsoleKernel
$schedule->call(function() {
Storage::disk('local')->put('laatste_podcasts.json', file_get_contents($this->API_URL . 'podcast/overzicht?pagina=1&aantal=3'));
})->everyMinute();
// Update calendar items
$schedule->call(function() {
Storage::disk('local')->put('regioagenda.json', file_get_contents($this->API_URL . 'agenda/overzicht'));
})->everyMinute();
}
/**