|
|
@ -1,6 +1,5 @@
|
|
|
|
package fr.iut.sciencequest.sae.controllers;
|
|
|
|
package fr.iut.sciencequest.sae.controllers;
|
|
|
|
|
|
|
|
|
|
|
|
import fr.iut.sciencequest.sae.dto.invite.InviteDTO;
|
|
|
|
|
|
|
|
import fr.iut.sciencequest.sae.dto.invite.InviteSimpleDTO;
|
|
|
|
import fr.iut.sciencequest.sae.dto.invite.InviteSimpleDTO;
|
|
|
|
import fr.iut.sciencequest.sae.dto.invite.InviteWithPseudoOnlyDTO;
|
|
|
|
import fr.iut.sciencequest.sae.dto.invite.InviteWithPseudoOnlyDTO;
|
|
|
|
import fr.iut.sciencequest.sae.entities.Invite;
|
|
|
|
import fr.iut.sciencequest.sae.entities.Invite;
|
|
|
@ -12,8 +11,6 @@ import org.springframework.http.HttpStatus;
|
|
|
|
import org.springframework.http.MediaType;
|
|
|
|
import org.springframework.http.MediaType;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
@AllArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@RequestMapping("/api/v1/invite")
|
|
|
|
@RequestMapping("/api/v1/invite")
|
|
|
|