diff --git a/.eslintrc.js b/.eslintrc.js index 259de13..dd6b119 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,5 +21,6 @@ module.exports = { '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/ban-ts-comment': 'off', }, }; diff --git a/src/core/service/contribution.service.ts b/src/core/service/contribution.service.ts index e7a47aa..d4f4ff6 100644 --- a/src/core/service/contribution.service.ts +++ b/src/core/service/contribution.service.ts @@ -23,7 +23,6 @@ export class ContributionService { const where = { deleted: false, projectId, - ownerId: undefined, }; if (wallet) { const user = await this.prisma.contributor.findFirst({ @@ -38,6 +37,7 @@ export class ContributionService { Code.NOT_FOUND_ERROR.code, ); } + // @ts-ignore where.ownerId = user.id; } return paginate(