diff --git a/app/config/collections/projects.php b/app/config/collections/projects.php index ecd3db1733..984d7ec6b6 100644 --- a/app/config/collections/projects.php +++ b/app/config/collections/projects.php @@ -2190,13 +2190,6 @@ return [ 'lengths' => [], 'orders' => [Database::ORDER_ASC], ], - [ - '$id' => ID::custom('_key_function_internal_id'), - 'type' => Database::INDEX_KEY, - 'attributes' => ['resourceInternalId'], - 'lengths' => [], - 'orders' => [], - ], [ '$id' => ID::custom('_key_resourceType'), 'type' => Database::INDEX_KEY, diff --git a/src/Appwrite/Bus/Listeners/Usage.php b/src/Appwrite/Bus/Listeners/Usage.php index ef288e427c..219287033d 100644 --- a/src/Appwrite/Bus/Listeners/Usage.php +++ b/src/Appwrite/Bus/Listeners/Usage.php @@ -29,7 +29,7 @@ class Usage extends Listener { $this ->desc('Records usage metrics') - ->inject('publisher') + ->inject('publisherStatsUsage') ->callback($this->handle(...)); }