Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Sep 19, 2024
1 parent 1498dec commit 472d3b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ open class SubmissionController(
),
],
)
@ApiResponse(responseCode = "304", description = "Not Modified")
@ApiResponse(
responseCode = "304",
description = "No database changes since last request " +
"(Etag in HttpHeaders.IF_NONE_MATCH matches lastDatabaseWriteETag)",
)
@ApiResponse(responseCode = "422", description = EXTRACT_UNPROCESSED_DATA_ERROR_RESPONSE)
@PostMapping("/extract-unprocessed-data", produces = [MediaType.APPLICATION_NDJSON_VALUE])
fun extractUnprocessedData(
Expand Down Expand Up @@ -258,6 +262,11 @@ open class SubmissionController(
),
],
)
@ApiResponse(
responseCode = "304",
description = "No database changes since last request " +
"(Etag in HttpHeaders.IF_NONE_MATCH matches lastDatabaseWriteETag)",
)
@GetMapping("/get-released-data", produces = [MediaType.APPLICATION_NDJSON_VALUE])
fun getReleasedData(
@PathVariable @Valid organism: Organism,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.loculus.backend.model

import UpdateTrackerTable
import com.fasterxml.jackson.databind.node.BooleanNode
import com.fasterxml.jackson.databind.node.IntNode
import com.fasterxml.jackson.databind.node.LongNode
Expand All @@ -10,7 +9,6 @@ import kotlinx.datetime.Clock
import kotlinx.datetime.TimeZone
import kotlinx.datetime.toLocalDateTime
import mu.KotlinLogging
import org.jetbrains.exposed.sql.selectAll
import org.loculus.backend.api.DataUseTerms
import org.loculus.backend.api.GeneticSequence
import org.loculus.backend.api.Organism
Expand Down

0 comments on commit 472d3b1

Please sign in to comment.