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

[BUG] [TORII]updated_at not updating #2117

Closed
edisontim opened this issue Jun 27, 2024 · 3 comments
Closed

[BUG] [TORII]updated_at not updating #2117

edisontim opened this issue Jun 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@edisontim
Copy link
Contributor

Describe the bug
Whenever an entity is updated in cairo, the updated_at field of the entity in the graphQL should be updated, however I'm noticing this value isn't being changed and just keeping the created_at value. executed_at is updated, however it's also slightly off from the created_at just after creating an entity

To Reproduce

  • Create an entity -> different values for executed_at and created_at
  • Modify the entity -> updated_at stays the same timestamp as created_at

Expected behavior
As I understood it, at creation executed_at and created_at would've been the same, and updated_at should change whenever the entity is updated. But my understanding could be skewed

Screenshots
At creation
Screenshot 2024-06-27 at 22 53 32
After update
Screenshot 2024-06-27 at 22 54 32

@edisontim edisontim added the bug Something isn't working label Jun 27, 2024
@edisontim edisontim changed the title [BUG] updated_at not updating [BUG] [TORII]updated_at not updating Jun 27, 2024
@abdegenius
Copy link

can i be assigned this issues, let me tackle it!

@glihm
Copy link
Collaborator

glihm commented Jun 29, 2024

Thanks for the issue! Fixed in #2118.

@glihm glihm closed this as completed Jun 29, 2024
@edisontim
Copy link
Contributor Author

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants