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

chore: Refactor lastUpdated #2314

Merged
merged 1 commit into from
Sep 26, 2024
Merged

chore: Refactor lastUpdated #2314

merged 1 commit into from
Sep 26, 2024

Commits on Sep 26, 2024

  1. Refactor form creation and update logic

    This commit refactors the form creation and update logic in the `ApiController` class. It removes the unnecessary setting of the `created` and `lastUpdated` timestamps in the `Form` entity, as these values are now automatically set in the `FormMapper` class. This improves code readability and reduces redundancy.
    
    The changes also include updates to the `FormMapper` class, where the `insert` and `update` methods now automatically set the `created` and `lastUpdated` timestamps respectively.
    
    Signed-off-by: Christian Hartmann <[email protected]>
    Chartman123 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    9ad8d3d View commit details
    Browse the repository at this point in the history