Skip to content

Commit

Permalink
Update SharedController.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
QuesitoCode committed Oct 27, 2023
1 parent 339c787 commit ad4b176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/example/controllers/SharedController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class SharedController {
val id = rs.int("id")
val archivoId = rs.int("archivo_id")
// Obtén los detalles del archivo basándote en el archivo_id
sql"SELECT * FROM archivos WHERE id = $archivoIdAND habilitado = 1"
sql"SELECT * FROM archivos WHERE id = $archivoId AND habilitado = 1"
.map(rs =>
FileModelShared(
rs.int("id"),
Expand Down

0 comments on commit ad4b176

Please sign in to comment.