summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-01-01 17:57:08 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-01-01 17:57:08 +0100
commit2a5c72b2a78bf0a0bf780a1ea2960a3740d15685 (patch)
tree139cdd64ba88b8ef7141919426beeaf1b7cef899 /app/services
parent7606db6e9b5a149cf23971c513283874b517ff0e (diff)
Small scoring service update.
Diffstat (limited to 'app/services')
-rw-r--r--app/services/tartiflette_scoring_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/tartiflette_scoring_service.rb b/app/services/tartiflette_scoring_service.rb
index 2c12025..6df2f0c 100644
--- a/app/services/tartiflette_scoring_service.rb
+++ b/app/services/tartiflette_scoring_service.rb
@@ -1,7 +1,7 @@
class TartifletteScoringService
def self.scored?(tartiflette, session)
session[:scored_tartiflettes] ||= []
- session[:scored_tartiflettes]&.include?(tartiflette.id)
+ session[:scored_tartiflettes].include?(tartiflette.id)
end
def self.mark_as_scored(tartiflette, session)
Copyright 2019--2025 Marius PETER