1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Update app/workers/database.php

Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
This commit is contained in:
Eldad A. Fux 2021-08-23 23:39:24 +03:00 committed by GitHub
parent 8d262ffbbb
commit 5de5a38ba0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,6 @@ class DatabaseV1 extends Worker
if(!$dbForExternal->createAttribute($collectionId, $key, $type, $size, $required, $default, $signed, $array, $format, $formatOptions, $filters)) {
throw new Exception('Failed to create Attribute');
}
$dbForInternal->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'available'));
} catch (\Throwable $th) {
Console::error($th->getMessage());