Update CONTRIBUTING.md

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Shimon Newman
2024-05-07 20:59:31 +03:00
committed by GitHub
parent 243bdeb29c
commit 508691a9a6
+1 -1
View File
@@ -382,7 +382,7 @@ In that case you need also to handle children removal using addReduce() method c
break;
```
On top of that also adding logic on the usage worker located in /src/Appwrite/Platform/Workers/Usage.php, on the reduce method.
In addition, you also need to add some logic to the `reduce()` method of the Usage worker located in `/src/Appwrite/Platform/Workers/Usage.php`.
```php
private function reduce(Document $project, Document $document, array &$metrics, callable $getProjectDB): void
```