export const protectCrypto = async (req, res, next) => { if ( req.headers.authorization && req.headers.authorization === process.env.INTERNAL_API_KEY ) { return next(); } return res.status(403).json({ error: "Forbidden: Invalid API key" }); };