Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: added bucket_id and updated_at on object info #620

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

ajitsinghkaler
Copy link
Contributor

What kind of change does this PR introduce?

This is a bug fix in which in Object info did not return bucket_id, last_accessed_at, last_modified which is present in interface FileObjectV2 {
id: string
version: string
name: string
bucket_id: string
updated_at: string
created_at: string
last_accessed_at: string
size?: number
cache_control?: string
content_type?: string
etag?: string
last_modified?: string
metadata?: Record<string, any>
}

What is the current behavior?

In the current behavior bucket_id, last_accessed_at, last_modified were not returned.
#591
#541

What is the new behavior?

In the new behavior these will be returned

Additional context

@fenos
Copy link
Contributor

fenos commented Jan 20, 2025

Hi @ajitsinghkaler Thanks a lot for the PR!

the last_access_at field is deprecated, could you please remove it from the response.
Happy to return the other fields

@ajitsinghkaler
Copy link
Contributor Author

hi @fenos updated the pr.

@fenos fenos merged commit 13fd5fe into supabase:master Jan 20, 2025
1 check failed
@fenos
Copy link
Contributor

fenos commented Jan 20, 2025

Hero @ajitsinghkaler

Copy link

🎉 This PR is included in version 1.17.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants