Closed moetazbrayek1 closed 10 months ago
Hi @moetazbrayek1, thanks for the PR. it seems the build fails with typescript types errors. Please take a look:
okay let me double check the tests
okay let me double check the tests
Just to clarify, it is not the tests failing, it is the build/compilation of typescript failing because of type mismatches
Fixed the typing issue. Could you check now?
@rametta you can check now
Refactor: Simplify makeRequestsPropertyAssignment Function
This PR refactors the
makeRequestsPropertyAssignment
function to use a loop over HTTP methods, reducing repetitiveif
statements and improving code maintainability. The functionality remains unchanged, ensuring backward compatibility. Unit tests have been checked to confirm they pass with the refactor.