Skip to content

Commit

Permalink
Fix input endpoint for dlp job
Browse files Browse the repository at this point in the history
  • Loading branch information
tomijange committed Jan 24, 2024
1 parent ef3e4a7 commit 2a920c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
implementation(platform("org.testcontainers:testcontainers-bom:1.17.4"))
implementation("org.testcontainers:junit-jupiter")
implementation("org.testcontainers:postgresql")
implementation("com.github.PrivacyEngineering:hawk-dlp:1.0.4")
implementation("com.github.PrivacyEngineering:hawk-dlp:1.0.6")
implementation("io.micrometer:micrometer-registry-prometheus")
developmentOnly("org.springframework.boot:spring-boot-devtools")
runtimeOnly("org.postgresql:postgresql")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DlpInputRestController(
private val dlpResultRepository: DlpResultRepository
) {
@PostMapping
fun input(job: Job) {
fun input(@RequestBody job: Job) {
val dlpJob = DlpJob().apply dlp@{
id = job.id
created = job.created
Expand Down

0 comments on commit 2a920c7

Please sign in to comment.