We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const defaultHeaders = defaultHeadersVal => ({ init(context, next) { const { headers = {} } = context.state.request; context.state.request.headers = { ...defaultHeadersVal, ...headers, }; next(); }, });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: