Skip to content

Commit

Permalink
Merge pull request #116 from iynixil/update-docker
Browse files Browse the repository at this point in the history
Update docker
  • Loading branch information
AndrewOng2066 authored Nov 13, 2024
2 parents e67c43e + aade200 commit cf4d7a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/user-service/controller/userController.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const getHistory = async (req, res) => {
return acc;
}, {});

console.log("Fetched matching history data: ", filteredHistoryData);
console.log("Fetched matching history data");
return res.status(200).send(filteredHistoryData);

} catch (error) {
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,4 @@ volumes:
networks:
peerprep-network: # Defines a network named 'peerprep-network'.
name: peerprep-network
driver: bridge # Uses the bridge driver for the network, which is the default and most common network type in Docker.
external: true
driver: bridge # Uses the bridge driver for the network, which is the default and most common network type in Docker.
2 changes: 1 addition & 1 deletion frontend/src/pages/user-service/ChangePassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function ChangePassword() {
setErrorMessage(err.response.data.message);
alert("You have exceeded the rate limit. Please wait a moment and try again.");
} else {
setErrorMessage("An error occurred. Please try again.");
setErrorMessage("Old password is incorrect.");
console.log(err);
}
});
Expand Down

0 comments on commit cf4d7a9

Please sign in to comment.