1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +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:40:56 +03:00 committed by GitHub
parent f9d5d310e3
commit 8f2e5c3563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());