mirror of
https://github.com/tomru/advcal.git
synced 2026-03-03 06:27:17 +01:00
fix locking
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user