CJVT updates August and September 2026
This commit is contained in:
@@ -15,7 +15,7 @@ exports.adjustHeaders = async (req, res, next) => {
|
||||
}
|
||||
|
||||
exports.setDerivedDictionaryIdFromEntryId = async (req, res, next) => {
|
||||
const { entryId } = req.query
|
||||
const entryId = req.params.entryId || req.query.entryId
|
||||
const { dictionary_id: dictionaryId } = await Entry.fetch(entryId)
|
||||
req.derivedDictionaryId = dictionaryId
|
||||
|
||||
|
||||
Reference in New Issue
Block a user