mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Remove raw data from visited cities api endpoint
This commit is contained in:
parent
6cfea8f1b7
commit
6f83851563
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ class Api::V1::Countries::VisitedCitiesController < ApiController
|
|||
|
||||
points = current_api_user
|
||||
.points
|
||||
.without_raw_data
|
||||
.where(timestamp: start_at..end_at)
|
||||
|
||||
render json: { data: CountriesAndCities.new(points).call }
|
||||
|
|
|
|||
Loading…
Reference in a new issue