[haskell] Removed available timestamp from ship's database schema
This commit is contained in:
parent
a6c8173d88
commit
0ecb8e87c0
4 changed files with 11 additions and 17 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue