fix locking

This commit is contained in:
Thomas Ruoff
2020-11-28 23:53:21 +01:00
parent 87f800ec53
commit c9dcf89196

View File

@@ -103,7 +103,7 @@ const SONGS = [
]; ];
export default async (req, res) => { export default async (req, res) => {
const unlocked = !!req.query.unlock; const unlocked = Boolean(req.query.unlock) === true;
const NOW = DateTime.utc().setZone("Europe/Berlin"); const NOW = DateTime.utc().setZone("Europe/Berlin");
const getLockedData = (index) => { const getLockedData = (index) => {