Fix the build.

This commit is contained in:
Guo Xiang Tan 2017-08-22 15:52:16 +09:00
parent bc3e43b496
commit 29a9e0c4d2
1 changed files with 1 additions and 0 deletions

View File

@ -998,6 +998,7 @@ SQL
options = { status_type: status_type }
options.merge!(user: by_user) unless TopicTimer.public_types[status_type]
self.topic_timers.find_by(options)&.trash!(by_user)
nil
end
# Valid arguments for the time: