Fixed partial backend update.

This commit is contained in:
abdulmohsen
2024-05-04 23:27:15 +03:00
parent 660d7a7012
commit e260ef8bd1

View File

@@ -73,7 +73,7 @@ final class Update
HTTP_STATUS::HTTP_BAD_REQUEST);
}
$spec = require __DIR__ . '/../../../config/backend.spec.php';
$spec = array_keys(require __DIR__ . '/../../../config/backend.spec.php');
foreach ($data as $update) {
$key = ag($update, 'key');