mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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) {
|
} catch (DatabaseException\Dependency $e) {
|
||||||
Console::error($e->getMessage());
|
Console::error($e->getMessage());
|
||||||
|
|
||||||
$dbForProject->updateDocument(
|
$attribute->setAttribute('status', 'available');
|
||||||
'attributes',
|
$attribute->setAttribute('error', $e->getMessage());
|
||||||
$attribute->getId(),
|
|
||||||
$attribute->setAttribute('error', $e->getMessage())
|
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute);
|
||||||
);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue