Update available

This commit is contained in:
fogelito 2025-01-15 13:20:08 +02:00
parent 43db5b4552
commit 9f82cd78fb

View file

@ -281,11 +281,10 @@ class Databases extends Action
} catch (DatabaseException\Dependency $e) {
Console::error($e->getMessage());
$dbForProject->updateDocument(
'attributes',
$attribute->getId(),
$attribute->setAttribute('error', $e->getMessage())
);
$attribute->setAttribute('status', 'available');
$attribute->setAttribute('error', $e->getMessage());
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute);
return;