Skip to content

Commit

Permalink
hotfix: get query
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnynh authored Jan 2, 2024
1 parent 203af67 commit 3ad4e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/User/userController.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ export const getStats = async (req, res) => {

export const getGuestNamesAndCheckDup = async (req, res) => {
const hostId = req.query.hostId;
const guestNameProvided = req.query.name;
const guestName = guestNameProvided.replace("+", " ");
const guestName = req.query.name;

const user = await userProvider.retrieveUser(hostId);
if (!user) {
return res.send(baseResponse.USER_NOT_FOUND);
Expand Down

0 comments on commit 3ad4e09

Please sign in to comment.