-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
Feature description
Currently trying to upload yaml fails. Only JSON look to be accepted:
data-hub/src/Controller/ConfigController.php
Lines 573 to 582 in f88cb83
/** | |
* @Route("/import", methods={"POST"}) | |
* | |
*/ | |
public function importConfiguration(Request $request, ImportService $importService): JsonResponse | |
{ | |
try { | |
$this->checkPermission(self::CONFIG_NAME); | |
$json = file_get_contents($_FILES['Filedata']['tmp_name']); | |
$configuration = $importService->importConfigurationJson($json); |
this is despite yaml being the format we store the configs on file system.