apps/meteor/server/services/nps/getAndCreateNpsSurvey.ts
Function getNpsSurvey
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getAndCreateNpsSurvey = async function getNpsSurvey(npsId: string) {
const token = await getWorkspaceAccessToken();
if (!token) {
return false;
}