mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
fix format
This commit is contained in:
parent
46444b1456
commit
ce83c4d3d3
1 changed files with 2 additions and 2 deletions
|
|
@ -460,10 +460,10 @@ App::patch('/v1/projects/:projectId/service/all')
|
|||
$allServices = array_keys(array_filter(Config::getParam('services'), fn($element) => $element['optional']));
|
||||
|
||||
$services = [];
|
||||
foreach($allServices as $service) {
|
||||
foreach ($allServices as $service) {
|
||||
$services[$service] = $status;
|
||||
}
|
||||
|
||||
|
||||
$project = $dbForConsole->updateDocument('projects', $project->getId(), $project->setAttribute('services', $services));
|
||||
|
||||
$response->dynamic($project, Response::MODEL_PROJECT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue