diff --git a/api/application/controllers/Request_DataDump_Controller.php b/api/application/controllers/Request_DataDump_Controller.php index 2a7678ad..fcf89cb8 100755 --- a/api/application/controllers/Request_DataDump_Controller.php +++ b/api/application/controllers/Request_DataDump_Controller.php @@ -1042,7 +1042,7 @@ class Request_DataDump_Controller extends REST_Controller { $s3result= $this->aws_s3->uploadFileToS3Bucket($bucketdata); if(is_object($s3result) && $s3result['ObjectURL'] != '' && $s3result['@metadata']['statusCode'] == 200) { - $_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucketname,$bucketkey); + $_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucketname,$bucketkey,'+7 days'); $update_fields = array('status' => "COMPLETED","file_path"=>$_uri); $this->Data_Dump_Model->updateRecords($update_fields,DATADUMPREQUEST,array('request_id' => $id)); log_message('ERROR','## URI Gotten ('.$_uri.') !');