Showing 9,144 of 9,144 total issues
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('invalid-room');
Avoid too many return
statements within this function. Open
Open
return API.v1.failure(e);
Avoid too many return
statements within this function. Open
Open
return API.v1.success();
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('No integration found.');
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('The command provided does not exist (or is disabled).');
Avoid too many return
statements within this function. Open
Open
return auth;
Avoid too many return
statements within this function. Open
Open
return API.v1.success({
permissions: result,
});
Avoid too many return
statements within this function. Open
Open
return API.v1.unauthorized();
Avoid too many return
statements within this function. Open
Open
return verifyQuery(value, allowedAttributes, allowedOperations, path);
Avoid too many return
statements within this function. Open
Open
return API.v1.success({ result });
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('The command provided does not exist (or is disabled).');
Avoid too many return
statements within this function. Open
Open
return API.v1.unauthorized();
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('User not found');
Avoid too many return
statements within this function. Open
Open
return API.v1.failure(`extension already in use ${extension}`);
Avoid too many return
statements within this function. Open
Open
return API.v1.success({ room, newRoom: false });
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('Invalid thread.');
Avoid too many return
statements within this function. Open
Open
return API.v1.success();
Avoid too many return
statements within this function. Open
Open
return forwardedFor[forwardedFor.length - httpForwardedCount];
Avoid too many return
statements within this function. Open
Open
return API.v1.success(
await LivechatVoip.getNewRoom(guest, agent, rid, direction, {
projection: API.v1.defaultFieldsToExclude,
}),
);
Avoid too many return
statements within this function. Open
Open
return API.v1.failure('The bodyParam "autoTranslateLanguage" must be a string.');