mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
11 lines
213 B
Ruby
11 lines
213 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Import::PhotoprismGeodataJob < ApplicationJob
|
|
queue_as :imports
|
|
|
|
def perform(user_id)
|
|
user = User.find(user_id)
|
|
|
|
Photoprism::ImportGeodata.new(user).call
|
|
end
|
|
end
|