@@ -318,9 +318,9 @@ export function createPresignedUrlPlugin(
318318 // Track the dedup request
319319 await txClient . query ( {
320320 text : `INSERT INTO ${ storageConfig . uploadRequestsQualifiedName }
321- (file_id, bucket_id, key, content_type, content_hash, size, status, expires_at)
322- VALUES ($1, $2, $3, $4, $5, $6, 'confirmed', NOW())` ,
323- values : [ existingFile . id , bucket . id , s3Key , contentType , contentHash , size ] ,
321+ (file_id, bucket_id, key, content_type, content_hash, status, expires_at)
322+ VALUES ($1, $2, $3, $4, $5, 'confirmed', NOW())` ,
323+ values : [ existingFile . id , bucket . id , s3Key , contentType , contentHash ] ,
324324 } ) ;
325325
326326 return {
@@ -385,9 +385,9 @@ export function createPresignedUrlPlugin(
385385 // --- Track the upload request ---
386386 await txClient . query ( {
387387 text : `INSERT INTO ${ storageConfig . uploadRequestsQualifiedName }
388- (file_id, bucket_id, key, content_type, content_hash, size, status, expires_at)
389- VALUES ($1, $2, $3, $4, $5, $6, 'issued', $7 )` ,
390- values : [ fileId , bucket . id , s3Key , contentType , contentHash , size , expiresAt ] ,
388+ (file_id, bucket_id, key, content_type, content_hash, status, expires_at)
389+ VALUES ($1, $2, $3, $4, $5, 'issued', $6 )` ,
390+ values : [ fileId , bucket . id , s3Key , contentType , contentHash , expiresAt ] ,
391391 } ) ;
392392
393393 return {
0 commit comments