The current implementation of BlogDislike creation omits the addition of the function to extract and add client ip_address to the existing ip address column of the blog dislike table. Also refactor the endpoint and move HTTPExeption references from routes to services to maintain accepted standards for the codebase.
Expected Behavior
The ip address is supposed to be extracted from each request and added to the appropriate column for reference and insight purposes.
Screenshots
Acceptance Criteria:
Stick to the changes required to fix the particular bug mentioned in description.
Do not change other people's code without appropriate permission.
Testing:
[ ] Write test for all updates requiring one
[ ] Ensure all existing tests passes [without tampering], alongside the new ones added
Description
The current implementation of BlogDislike creation omits the addition of the function to extract and add client
ip_address
to the existing ip address column of the blog dislike table. Also refactor the endpoint and move HTTPExeption references from routes to services to maintain accepted standards for the codebase.Expected Behavior
The ip address is supposed to be extracted from each request and added to the appropriate column for reference and insight purposes.
Screenshots
Acceptance Criteria:
Testing: