diff options
| author | stuebinm | 2026-04-16 01:27:50 +0200 |
|---|---|---|
| committer | stuebinm | 2026-04-16 01:27:50 +0200 |
| commit | 2c684868ed9b3011033d5ec265dd9f891fe791b7 (patch) | |
| tree | 87ab7968c31e732ce3410c473b13c72184990220 /lib/API.hs | |
| parent | 426ecb4e0ccc23e411039b7f075155df275b0a2d (diff) | |
lib: formatter run
Diffstat (limited to 'lib/API.hs')
| -rw-r--r-- | lib/API.hs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -28,8 +28,8 @@ import Servant (Application, FormUrlEncoded, import Servant.API (Accept, Capture, Get, JSON, MimeRender, MimeUnrender, NoContent, OctetStream, PlainText, - Post, QueryParam, Raw, ReqBody, - type (:<|>) (..), QueryFlag) + Post, QueryFlag, QueryParam, Raw, + ReqBody, type (:<|>) (..)) import Servant.API.WebSocket (WebSocket) import Servant.Swagger (HasSwagger (..)) import Web.Internal.FormUrlEncoded (Form) @@ -47,15 +47,15 @@ import GTFS (Depth (Deep), GTFSFile (..), StationID, Trip, TripId, aesonOptions, swaggerOptions) import Network.HTTP.Media ((//)) +import qualified OwnTracks as OT import Persist import Prometheus import Proto.GtfsRealtime (FeedMessage) import Servant.API.ContentTypes (Accept (..)) -import qualified OwnTracks as OT -- | a bare ping as sent by a tracker device data SentPing = SentPing - { sentPingTrackerId :: TrackerId + { sentPingTrackerId :: TrackerId , sentPingGeopos :: Geopos , sentPingTimestamp :: UTCTime } deriving (Generic) |
