Skip to content

Commit

Permalink
fix: return bucket_id on info (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenos authored Oct 2, 2024
1 parent 35f9d4f commit a6ea2b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/storage/renderer/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ export class InfoRenderer extends HeadRenderer {
id: obj.id,
name: obj.name,
version: obj.version,
bucket_id: obj.bucket_id,
size: obj.metadata?.size ?? null,
content_type: obj.metadata?.mimetype ?? null,
cache_control: obj.metadata?.cacheControl ?? null,
etag: obj.metadata?.eTag ?? null,
metadata: obj.user_metadata,
last_modified: obj.metadata?.lastModified ?? null,
last_modified: obj.updated_at,
created_at: obj.created_at,
},
}
Expand Down

0 comments on commit a6ea2b7

Please sign in to comment.