src/services/schema-sender.js
Function SchemaSender
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function SchemaSender(serializedSchema, secret, authenticationToken, oclifExit) {
/**
* @function
* @returns {Promise<number | undefined>}
*/
Function perform
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.perform = () => {
const { env, logger } = Context.inject();
return agent
.post(`${env.FOREST_SERVER_URL}/forest/apimaps`)