We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e0c6b commit ad44452Copy full SHA for ad44452
src/main/kotlin/com/campspot/resources/PunchResource.kt
@@ -36,7 +36,7 @@ class PunchResource(private val punchLib: PunchLib) {
36
@GET
37
@Timed
38
@Valid
39
- @Transaction(TransactionIsolationLevel.READ_COMMITTED)
+ @Transaction(TransactionIsolationLevel.READ_COMMITTED, readOnly = true)
40
fun list(
41
@NotNull @UnwrapValidatedValue @QueryParam("start") start: ZonedDateTimeParam,
42
@NotNull @UnwrapValidatedValue @QueryParam("end") end: ZonedDateTimeParam
0 commit comments