FIX: Update set_or_create_topic_timer to use duration_minutes keyword

See https://github.com/discourse/discourse/pull/11961
This commit is contained in:
Martin Brennan 2021-02-05 15:33:09 +10:00 committed by GitHub
parent 30248619e2
commit c722b94a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ SQL
TopicTimer.types[:silent_close] || TopicTimer.types[:close],
nil,
based_on_last_post: true,
duration: auto_close_hours
duration_minutes: auto_close_hours * 60
)
topic.custom_fields[