Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
This commit is contained in:
parent
f9d5d310e3
commit
8f2e5c3563
|
@ -144,7 +144,6 @@ class DatabaseV1 extends Worker
|
|||
if(!$dbForExternal->createIndex($collectionId, $key, $type, $attributes, $lengths, $orders)) {
|
||||
throw new Exception('Failed to create Index');
|
||||
}
|
||||
|
||||
$dbForInternal->updateDocument('indexes', $index->getId(), $index->setAttribute('status', 'available'));
|
||||
} catch (\Throwable $th) {
|
||||
Console::error($th->getMessage());
|
||||
|
|
Loading…
Reference in a new issue