swipeS
BuildShip2y ago
3 replies
swipe

Get Authorization Header Node has incorrect output type

The node is set up to output "string" but the code clearly outputs an object:
export default function getAuthorizationHeader({ req }) { return { headerValue: req.headers["authorization"] }; }

Not totally sure why it doesn't just output the string...
Was this page helpful?