fix(watermark): fix watermark text

Current attributes are not set in jobs
This commit is contained in:
Colin Darie 2024-04-23 14:55:37 +02:00
parent 5d61444852
commit 9658a0ca47
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -7,7 +7,7 @@ class WatermarkService
attr_reader :text
attr_reader :text_length
def initialize(text = Current.application_name)
def initialize(text = APPLICATION_NAME)
@text = " #{text} " # give more space around each occurence
@text_length = @text.length
end