Open oanamodoranu opened 16 hours ago
Hello, we tried to solve the issue.
This is what we did:
Modified the sendMessage method in SendContractMessages.java to validate the operation type before sending the contract message. If the operation is not 'AdaugareContract', it will return an error response instead of sending the message.
You can review changes in this commit: https://github.com/mnmnk43434/reges-ro-integrare-127/commit/b04dbc1b47a7e1b8080e961dd409b81f105aaee6.
[!CAUTION] Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
Am introdus in contract nou si in HEADER la header.operation in loc de "AdaugareContract" a fost trimis cu "InregistrareSalariat". Raspunsul a venit cu SUCCES fara referinta pentru contract, ar fi trebuit sa fie FAIL
cui: 6549661 responseID: 1dfc4dfe-e12b-49aa-bca1-d28f19f02c67 80a12fda-36cd-4bcd-bdc3-c72f46f26c94 c12b3813-01c6-4917-8d8b-a5001e7cc1b6