mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
15 lines
284 B
Ruby
15 lines
284 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Api::V1::Owntracks::PointsController < ApiController
|
|
def create
|
|
Owntracks::PointCreatingJob.perform_later(point_params, current_api_user.id)
|
|
|
|
render json: {}, status: :ok
|
|
end
|
|
|
|
private
|
|
|
|
def point_params
|
|
params.permit!
|
|
end
|
|
end
|