Feature/api paramyxrx #25

Merged
mattdimegs merged 10 commits from feature/api-paramyxrx into main 2026-01-18 06:26:01 +00:00
Showing only changes of commit 4bc43a0862 - Show all commits

View file

@ -1,4 +1,6 @@
export const validateMedicationApiKey = (req, res, next) => { export const validateMedicationApiKey = (req, res, next) => {
console.log('req: ', req);
console.log('req.headers: ', req.headers);
const authHeader = req.headers['authorization']; const authHeader = req.headers['authorization'];
const token = authHeader && authHeader.split(' ')[1]; const token = authHeader && authHeader.split(' ')[1];