mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
13 lines
244 B
Ruby
13 lines
244 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class Import::PhotoprismGeodataJob < ApplicationJob
|
||
|
|
queue_as :imports
|
||
|
|
sidekiq_options retry: false
|
||
|
|
|
||
|
|
def perform(user_id)
|
||
|
|
user = User.find(user_id)
|
||
|
|
|
||
|
|
Photoprism::ImportGeodata.new(user).call
|
||
|
|
end
|
||
|
|
end
|