diff --git a/api/package.json b/api/package.json index 016b1b9..c05f671 100644 --- a/api/package.json +++ b/api/package.json @@ -62,7 +62,7 @@ "jest": "^29.7.0", "prettier": "3.3.2", "supertest": "^7.0.0", - "ts-jest": "^29.2.4", + "ts-jest": "^29.2.5", "ts-node": "^10.0.0", "tsconfig-paths": "^3.9.0", "typescript": "^4.5.4" diff --git a/api/src/auth/auth.controller.ts b/api/src/auth/auth.controller.ts index 279a19b..dbf6afa 100644 --- a/api/src/auth/auth.controller.ts +++ b/api/src/auth/auth.controller.ts @@ -33,7 +33,7 @@ export class AuthController { return { message: "L'authentification est validée", data: response, - token: token ?? undefined, // Use undefined if no token is generated because use hasn't a premium subscription. + token: token ?? undefined, }; } } diff --git a/api/src/members/entities/member.entity.ts b/api/src/members/entities/member.entity.ts index 694a706..a4d725d 100755 --- a/api/src/members/entities/member.entity.ts +++ b/api/src/members/entities/member.entity.ts @@ -34,7 +34,7 @@ export class Member { arm_user_status!: number; @Column({ type: "int", nullable: false, default: 0 }) - arm_secondary_status!: number; // Assurez-vous que ceci est un number + arm_secondary_status!: number; @Column({ type: "text", nullable: true }) arm_user_plan_ids?: string; diff --git a/api/src/posts/tests/posts.service.spec.ts b/api/src/posts/tests/posts.service.spec.ts index 9574cf9..e599c57 100644 --- a/api/src/posts/tests/posts.service.spec.ts +++ b/api/src/posts/tests/posts.service.spec.ts @@ -3,7 +3,7 @@ import { PostsService } from '../posts.service'; import { PostNews } from '../entities/post-news.entity'; import { Repository, EntityManager, UpdateResult, DeleteResult } from 'typeorm'; import { getRepositoryToken } from '@nestjs/typeorm'; -import { NotFoundException, InternalServerErrorException } from '@nestjs/common'; +import { NotFoundException } from '@nestjs/common'; import { CreatePostDto } from '../dto/create-post.dto'; import { UpdatePostDto } from '../dto/update-post.dto'; import { ElementorDataService } from '../utils/extract_elementor_data';