Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Nov 23, 2024
1 parent 89be281 commit c8f17e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ElectionsApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ object ElectionsApi
}
}
}.flatMap { _ =>
DAL.elections.delete(id)
Future.successful(DAL.elections.delete(id))
}.map { _ =>
Ok(response("ok"))
}.recover {
Expand Down

0 comments on commit c8f17e6

Please sign in to comment.