diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake index 89f74aa33b..57ec11f864 100644 --- a/lib/tasks/mastodon.rake +++ b/lib/tasks/mastodon.rake @@ -362,7 +362,7 @@ namespace :mastodon do q.convert :int end - env['IP_RETENTION_PERIOD'] = (ip_retention_period_days * 86_400) + env['IP_RETENTION_PERIOD'] = ip_retention_period_days.days.to_i prompt.say "\n"