Skip to content

Commit a8eddaa

Browse files
fix build fail
1 parent 97714c3 commit a8eddaa

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base image with Java 21
2-
FROM openjdk:21-jdk-slim
2+
FROM eclipse-temurin:21-jdk-jammy
33

44
# Install necessary tools: curl, unzip
55
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*

backend/app/exception/AppException.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ import play.api.http.Status
66
* Base application exception with an associated HTTP status code.
77
* Specific exceptions extend this so handlers can map them to proper HTTP responses.
88
*/
9-
sealed abstract class AppException(message: String, val statusCode: Int = Status.BAD_REQUEST) extends RuntimeException(message)
9+
case class AppException(message: String, val statusCode: Int = Status.BAD_REQUEST) extends RuntimeException(message)

backend/app/services/WorkspaceService.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import slick.jdbc.JdbcProfile
1414
import java.time.Instant
1515
import javax.inject.{Inject, Singleton}
1616
import scala.concurrent.{ExecutionContext, Future}
17+
import exception.AppException
1718

1819
@Singleton
1920
class WorkspaceService @Inject()(

backend/conf/application.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ slick.dbs.default.db.url = "jdbc:postgresql://localhost:5432/smart_taskhub"
3636
slick.dbs.default.db.url = ${?DB_URL}
3737
slick.dbs.default.db.user = "postgres"
3838
slick.dbs.default.db.user = ${?DB_USER}
39-
slick.dbs.default.db.password = "postgres"
39+
slick.dbs.default.db.password = "admin"
4040
slick.dbs.default.db.password = ${?DB_PASSWORD}
4141

4242
# Play evolutions

0 commit comments

Comments
 (0)