Showing 5 of 52 total issues
Function execute
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async execute(req: RequestObject, res: ResponseObject, next: any, context: CustomPageHandlerContext): Promise<void> {
if (!context.options.multiTenantOptions) {
throw new Error('multiTenantOptions is not defined');
}
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;