From 21ff792ad769b82139de1fa40a062e322fd7380c Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 1 Jun 2020 07:04:40 +0300 Subject: [PATCH] Fixed output of /v1/health/queue/certificates returning wrong data --- CHANGES.md | 6 ++++++ app/controllers/api/health.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 43a08184a..b1a7cc02a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,13 @@ # Version 0.7.0 (NOT-RELEASED) +## Features + - New route in Locale API to fetch a list of languages +## Bug Fixes + +- Fixed output of /v1/health/queue/certificates returning wrong data + # Version 0.6.2 (PRE-RELEASE) ## Features diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index e244a6b46..e2b3c3776 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -158,7 +158,7 @@ $utopia->get('/v1/health/queue/certificates') ->label('sdk.description', '/docs/references/health/get-queue-certificates.md') ->action( function () use ($response) { - $response->json(['size' => Resque::size('v1-usage')]); + $response->json(['size' => Resque::size('v1-certificates')]); } );