fix: styling
All checks were successful
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 1m33s
CI / build (push) Successful in 11s

This commit is contained in:
MAILLAL Anas 2025-04-29 21:25:03 +02:00
parent fcf4e1c01d
commit b503cae235
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
package enseirb.myinpulse.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.core.annotation.AuthenticationPrincipal;

View File

@ -14,7 +14,6 @@ import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org.springframework.web.server.ResponseStatusException;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
@ -227,7 +226,7 @@ public class EntrepreneurApiService {
Long UserId = this.userService.getUserByEmail(email).getIdUser();
Entrepreneur entrepreneur = this.entrepreneurService.getEntrepreneurById(UserId);
List<Project> Project_List = new ArrayList<>();
;
Project_List.add(entrepreneur.getProjectParticipation());
return Project_List;
}