Eugen Rochko
hace 5 años
committed by
GitHub
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 4AEE18F83AFDEB23
Se han
modificado 1 ficheros con
2 adiciones y
0 borrados
-
app/workers/publish_scheduled_status_worker.rb
|
|
@@ -3,6 +3,8 @@ |
|
|
|
class PublishScheduledStatusWorker |
|
|
|
include Sidekiq::Worker |
|
|
|
|
|
|
|
sidekiq_options unique: :until_executed |
|
|
|
|
|
|
|
def perform(scheduled_status_id) |
|
|
|
scheduled_status = ScheduledStatus.find(scheduled_status_id) |
|
|
|
scheduled_status.destroy! |
|
|
|