Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Alba María Álvarez
/
AppRecetas
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c73c388
authored
Jun 20, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bugfix(user): eliminado findByUsername en el controlador
parent
96d33f7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
src/main/java/com/example/apprecetas/user/infrastructure/controller/ReadUserController.java
src/main/java/com/example/apprecetas/user/infrastructure/controller/ReadUserController.java
View file @
7c73c388
...
@@ -27,11 +27,6 @@ public class ReadUserController {
...
@@ -27,11 +27,6 @@ public class ReadUserController {
return
ResponseEntity
.
ok
().
body
(
mapper
.
map
(
service
.
readById
(
id
)));
return
ResponseEntity
.
ok
().
body
(
mapper
.
map
(
service
.
readById
(
id
)));
}
}
@GetMapping
(
"/{username}"
)
public
ResponseEntity
<
UserOutputDto
>
readByUsername
(
@PathVariable
String
username
)
{
return
ResponseEntity
.
ok
().
body
(
mapper
.
map
(
service
.
readByUsername
(
username
)));
}
@GetMapping
@GetMapping
public
ResponseEntity
<
List
<
UserOutputDto
>>
readAll
()
{
public
ResponseEntity
<
List
<
UserOutputDto
>>
readAll
()
{
if
(
service
.
readAll
().
isEmpty
())
if
(
service
.
readAll
().
isEmpty
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment