Added read status to obj

Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
m.malygina 2024-06-05 17:24:22 +03:00
parent bc066de649
commit b1a315ea5b

View file

@ -180,7 +180,7 @@ export function obj_read() {
if (obj_to_read_selector) { if (obj_to_read_selector) {
const obj = obj_to_read_selector.nextObject(); const obj = obj_to_read_selector.nextObject();
if (!obj || (obj.status == "read") ) { if (!obj ) {
return; return;
} }
const resp = s3_client.get(obj.s3_bucket, obj.s3_key) const resp = s3_client.get(obj.s3_bucket, obj.s3_key)