mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Update available
This commit is contained in:
parent
43db5b4552
commit
9f82cd78fb
1 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue