0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 09:44:06 +08:00
discourse/plugins/discourse-patreon/app/jobs/regular/sync_patron_groups.rb
Jarek Radosz e372355fd0
DEV: Clean up scope resolution operators in plugins (#34979)
Co-authored-by: Loïc Guitaut <loic@discourse.org>
2025-09-30 14:36:34 +02:00

9 lines
191 B
Ruby
Vendored

# frozen_string_literal: true
module Jobs
class SyncPatronGroups < ::Jobs::Base
def execute(args)
Patreon::Patron.sync_groups_by(patreon_id: args[:patreon_id])
end
end
end