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

LastModified field is set to 0? #509

Open
mstcl opened this issue May 25, 2024 · 0 comments
Open

LastModified field is set to 0? #509

mstcl opened this issue May 25, 2024 · 0 comments

Comments

@mstcl
Copy link

mstcl commented May 25, 2024

gonic version: 0.16.4

It appears that the LastModified field is set to 0, whereas the example API implementation returns a timestamp for when the index was last modified. Is this a design choice?

It seems like the Album struct has ModifiedAt which is already displayed on the admin panel. Perhaps the time of the most recently modified album can stand in for this LastModified field? This would be useful for index caching logic, for example.

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

No branches or pull requests

2 participants