Fix missing lodash import in tasks route
Add missing lodash import to resolve ReferenceError for _.isEmpty() function used in uid query parameter validation.
This commit is contained in:
parent
68578c47d6
commit
8ab473aaa0
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ const { Op } = require('sequelize');
|
|||
const RecurringTaskService = require('../services/recurringTaskService');
|
||||
const TaskEventService = require('../services/taskEventService');
|
||||
const moment = require('moment-timezone');
|
||||
const _ = require('lodash');
|
||||
const router = express.Router();
|
||||
|
||||
// Helper function to validate tag name (same as in tags.js)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue