Ignore:
Timestamp:
09/07/22 00:51:50 (2 years ago)
Author:
Marko <Marko@…>
Branches:
master
Children:
527b93f
Parents:
dbd4834
Message:

Edited registration and login services

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phonelux-backend/src/main/java/finki/it/phoneluxbackend/controllers/RegistrationController.java

    rdbd4834 rf25d07e  
    44import finki.it.phoneluxbackend.services.RegistrationService;
    55import lombok.AllArgsConstructor;
     6import org.springframework.http.ResponseEntity;
    67import org.springframework.web.bind.annotation.*;
    78
     
    1314
    1415    @PostMapping
    15     public String RegisterRequest(@RequestBody RegistrationRequest request)
     16    public ResponseEntity<Object> RegisterRequest(@RequestBody RegistrationRequest request)
    1617    {
    1718        return registrationService.register(request);
Note: See TracChangeset for help on using the changeset viewer.