File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/main/java/br/com/leticiamangueira/todolist/user Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 19
19
</properties >
20
20
<dependencies >
21
21
22
+ <dependency >
23
+ <groupId >org.springframework.boot</groupId >
24
+ <artifactId >spring-boot-devtools</artifactId >
25
+ <optional >true</optional >
26
+ </dependency >
27
+
28
+
22
29
<dependency >
23
30
<groupId >org.springframework.boot</groupId >
24
31
<artifactId >spring-boot-starter-actuator</artifactId >
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ public ResponseEntity create(@RequestBody UserModel userModel) {
30
30
userModel .setPassword (passwordHashred );
31
31
32
32
var userCreated = this .userRepository .save (userModel );
33
- return ResponseEntity .status (HttpStatus .CREATED ).body (userCreated );
33
+ return ResponseEntity .status (HttpStatus .OK ).body (userCreated );
34
34
}
35
35
}
You can’t perform that action at this time.
0 commit comments