Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak committed Sep 4, 2024
1 parent 3d0dd81 commit b6e8a65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/org/maproulette/jobs/SchedulerActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class SchedulerActor @Inject() (
SQL(query).executeUpdate()

// Update is_global based on bounding box
val updateGlobalQuery =
val updateGlobalQuery =
"""UPDATE challenges
SET is_global = (
CASE
Expand All @@ -189,7 +189,7 @@ class SchedulerActor @Inject() (
ELSE FALSE
END
);"""

SQL(updateGlobalQuery).executeUpdate()
}
// The above query will not update the cache, so remove the id from the cache in case it is there
Expand Down
2 changes: 0 additions & 2 deletions app/org/maproulette/provider/ChallengeProvider.scala
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ class ChallengeProvider @Inject() (
jsonData
)
}
challenge.id
)
this.challengeDAL.update(Json.obj("status" -> Challenge.STATUS_READY), user)(
challenge.id
)
Expand Down

0 comments on commit b6e8a65

Please sign in to comment.