Skip to content

Commit

Permalink
BE Manager dependabot recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
wtcarter committed Dec 18, 2024
1 parent 8a64acb commit bc2fff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/Manager/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.springframework.jdbc.datasource.SingleConnectionDataSource
import org.springframework.jdbc.datasource.init.ScriptUtils.*

plugins {
id("org.springframework.boot") version "3.3.5"
id("org.springframework.boot") version "3.4.0"
id("io.spring.dependency-management") version "1.1.6"
id("com.diffplug.spotless") version "6.25.0"
id("org.flywaydb.flyway") version "10.21.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class RainfallQueries(
@Autowired val jdbcTemplate: JdbcTemplate
) {

fun rainfall(councilId: Int, from: Instant, to: Instant): String {
fun rainfall(councilId: Int, from: Instant, to: Instant): String? {
//
val fromUTC = from.atOffset(ZoneOffset.UTC)
val toUTC = to.atOffset(ZoneOffset.UTC)
Expand Down Expand Up @@ -65,7 +65,7 @@ class RainfallQueries(
return buildFeatureCollection(context, innerQuery)
}

fun rainfallAccumulation(from: Instant, to: Instant): String {
fun rainfallAccumulation(from: Instant, to: Instant): String? {
return jdbcTemplate.queryForObject(
"""
WITH times AS (
Expand Down

0 comments on commit bc2fff8

Please sign in to comment.