[call-me] - fix typo

This commit is contained in:
Miroslav Pejic
2024-12-28 21:23:39 +01:00
parent 89b8b81493
commit 3865953bbf
+2 -2
View File
@@ -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;