Update app/workers/databases.php

Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
Shmuel Fogel 2023-03-20 11:23:01 +02:00 committed by GitHub
parent 0c6f9bdb01
commit f7c9e9c650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ class DatabaseV1 extends Worker
'collectionId' => $collection->getId(),
'attributeId' => $attribute->getId()
]);
/**x
/**
* Fetch attribute from the database, since with Resque float values are loosing informations.
*/
$attribute = $dbForProject->getDocument('attributes', $attribute->getId());