Description
Currently, the ID mapping logic is handled within the controllers. This should be moved to the service layer to maintain a clean separation of concerns and ensure consistent ID mapping across the application.
Additionally, the LinktaFlow ID handling in the backend have inconsistencies, particularly in the ID mapping logic between different service methods. For example, the createLinktaFlow and fetchLinktaFlow methods have inconsistent ID mappings which can lead to bugs and maintenance challenges.
Related Ticket
329
Description Currently, the ID mapping logic is handled within the controllers. This should be moved to the service layer to maintain a clean separation of concerns and ensure consistent ID mapping across the application.
Additionally, the LinktaFlow ID handling in the backend have inconsistencies, particularly in the ID mapping logic between different service methods. For example, the createLinktaFlow and fetchLinktaFlow methods have inconsistent ID mappings which can lead to bugs and maintenance challenges.
Examples of Inconsistencies:
Create LinktaFlow:
Fetch LinktaFlow:
Objective
Tasks Refactor Service:
Update the controllers:
Acceptance Criteria