Skip to content

Commit

Permalink
Merge branch 'dev' into refactor/#1
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnynh committed Jan 1, 2024
2 parents c0c6840 + 5912353 commit e2ff8a8
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Binary file added public/images/001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/app/User/userController.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ export const getGuestNamesAndCheckDup = async (req, res) => {
export const getNames = async (req, res) => {
const hostId = String(req.query.hostId);

const results = await userProvider.retrieveResult(hostId);
if (results)
const result = await userProvider.retrieveUser(hostId);
if (result)
return res.send({
status: "200",
message: "Host name for Landing Page",
hostName: results.hostName,
hostName: result.name,
});
else return res.send(baseResponse.USER_NOT_FOUND);
};

0 comments on commit e2ff8a8

Please sign in to comment.