Skip to content

Commit

Permalink
[call-me] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Dec 28, 2024
1 parent 89b8b81 commit 3865953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ app.get(`${config.apiBasePath}/users`, (req, res) => {
return res.json({ users });
});

// Check if Room password required
// Check if Host password required
app.get('/api/hostPassword', (req, res) => {
const isPasswordRequired = config.hostPasswordEnabled;
res.json({ isPasswordRequired });
});

// Check if Room password valid
// Check if Host password valid
app.post('/api/hostPasswordValidate', (req, res) => {
const { password } = req.body;
const success = password === config.hostPassword;
Expand Down

0 comments on commit 3865953

Please sign in to comment.