diff options
Diffstat (limited to 'public/js/maintenance.js')
| -rw-r--r-- | public/js/maintenance.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/maintenance.js b/public/js/maintenance.js index 84ca8e1..c12bd6b 100644 --- a/public/js/maintenance.js +++ b/public/js/maintenance.js | |||
| @@ -7,7 +7,7 @@ function displayLogs(){ | |||
| 7 | return; | 7 | return; |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | let fetcher = new Fetcher({ | 10 | const fetcher = new Fetcher({ |
| 11 | endpoint: 'index.php?action=get_logs', | 11 | endpoint: 'index.php?action=get_logs', |
| 12 | method: 'POST', | 12 | method: 'POST', |
| 13 | onSuccess: (data) => { | 13 | onSuccess: (data) => { |
| @@ -26,7 +26,7 @@ function cleanLogs(){ | |||
| 26 | } | 26 | } |
| 27 | const log_table = getElementOrThrow('log_table'); | 27 | const log_table = getElementOrThrow('log_table'); |
| 28 | 28 | ||
| 29 | let fetcher = new Fetcher({ | 29 | const fetcher = new Fetcher({ |
| 30 | endpoint: 'index.php?action=erase_logs', | 30 | endpoint: 'index.php?action=erase_logs', |
| 31 | method: 'POST', | 31 | method: 'POST', |
| 32 | onSuccess: () => { | 32 | onSuccess: () => { |
