Added read status to obj

Signed-off-by: m.malygina <m.malygina@yadro.com>
add-delete-after-read
m.malygina 2024-06-05 17:24:22 +03:00
parent bc066de649
commit b1a315ea5b
1 changed files with 1 additions and 1 deletions

View File

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