diff options
Diffstat (limited to 'app/services/metrics/dashboard')
-rw-r--r-- | app/services/metrics/dashboard/transient_embed_service.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/metrics/dashboard/transient_embed_service.rb b/app/services/metrics/dashboard/transient_embed_service.rb index 035707dceb9..ce81f337e47 100644 --- a/app/services/metrics/dashboard/transient_embed_service.rb +++ b/app/services/metrics/dashboard/transient_embed_service.rb @@ -30,6 +30,11 @@ module Metrics def sequence [STAGES::EndpointInserter] end + + override :identifiers + def identifiers + Digest::SHA256.hexdigest(params[:embed_json]) + end end end end |