mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #13478 from ArnabChatterjee20k/fix-double-usage
fix(usage): route document delete op metric per database type
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -219,7 +219,7 @@ class Delete extends Action
|
||||
$usage
|
||||
->setResource('database')
|
||||
->setResourceInternalId((string) $database->getSequence())
|
||||
->addMetric(METRIC_DATABASES_OPERATIONS_WRITES, 1);
|
||||
->addMetric($this->getDatabasesOperationWriteMetric(), 1);
|
||||
|
||||
$response->addHeader('X-Debug-Operations', 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user