diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 555aff7cd8..dbde6b2b91 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -196,7 +196,7 @@ App::get('/v1/functions/:functionId/usage') foreach ($points as $point) { $compute[] = [ - 'value' => round((!empty($point['value'])) ? $point['value'] / 60000 : 0, 2), // minutes + 'value' => round((!empty($point['value'])) ? $point['value'] / 1000 : 0, 2), // minutes 'date' => \strtotime($point['time']), ]; } diff --git a/app/init.php b/app/init.php index 1815aa8c90..305518e36d 100644 --- a/app/init.php +++ b/app/init.php @@ -36,7 +36,7 @@ const APP_EMAIL_SECURITY = 'security@localhost.test'; // Default security email const APP_USERAGENT = APP_NAME.'-Server v%s. Please report abuse at %s'; const APP_MODE_ADMIN = 'admin'; const APP_PAGING_LIMIT = 12; -const APP_CACHE_BUSTER = 129; +const APP_CACHE_BUSTER = 131; const APP_VERSION_STABLE = '0.6.2'; const APP_STORAGE_UPLOADS = '/storage/uploads'; const APP_STORAGE_FUNCTIONS = '/storage/functions'; diff --git a/app/views/console/functions/function.phtml b/app/views/console/functions/function.phtml index 64d474dd2c..e1fc559369 100644 --- a/app/views/console/functions/function.phtml +++ b/app/views/console/functions/function.phtml @@ -297,7 +297,7 @@ $timeout = $this->getParam('timeout', 900);
- +
@@ -318,36 +318,6 @@ $timeout = $this->getParam('timeout', 900);
  • Errors
  • -
  • diff --git a/app/views/console/functions/index.phtml b/app/views/console/functions/index.phtml index d696a418b6..f1ab86705f 100644 --- a/app/views/console/functions/index.phtml +++ b/app/views/console/functions/index.phtml @@ -47,8 +47,7 @@ $environments = $this->getParam('environments', []); -
    events assigned
    -
     
    +

  • diff --git a/app/views/console/home/index.phtml b/app/views/console/home/index.phtml index 2cd0f513c2..e90950262e 100644 --- a/app/views/console/home/index.phtml +++ b/app/views/console/home/index.phtml @@ -13,39 +13,20 @@ $graph = $this->getParam('graph', false);     -