1
0
Fork 0

[haskell] Removed available timestamp from ship's database schema

This commit is contained in:
Julien Dessaux 2023-10-14 23:59:32 +02:00
parent a6c8173d88
commit 0ecb8e87c0
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 11 additions and 17 deletions

View file

@ -22,7 +22,7 @@ instance FromJSON Waypoint where
<*> o .: "x"
<*> o .: "y"
instance ToJSON Waypoint where
toJSON (Waypoint s t xx yy) = object [ "symbol" .= s
, "type" .= t
, "x" .= xx
, "y" .= yy ]
toJSON (Waypoint o s t xx yy) = object [ "symbol" .= s
, "type" .= t
, "x" .= xx
, "y" .= yy ]