apps/meteor/packages/linkedin-oauth/linkedin-server.js
Function getTokenResponse
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getTokenResponse = async function (query) {
const config = await ServiceConfiguration.configurations.findOneAsync({ service: 'linkedin' });
if (!config) throw new Accounts.ConfigError('Service not configured');
let responseContent;