From b570368f100933317bd21629c8421c5549f1b9f3 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 1 Apr 2024 23:57:20 +0200 Subject: [PATCH] Fixed auth error in users usage --- app/controllers/api/users.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index e6524ff21c..29c5df147b 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -2110,7 +2110,6 @@ Http::get('/v1/users/usage') ->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true) ->inject('response') ->inject('dbForProject') - ->inject('register') ->inject('auth') ->action(function (string $range, Response $response, Database $dbForProject, Authorization $auth) {