[NGRAMS-TABLE]: Fix JSON instance for NgramsTablePatch

parent c1e9b043
......@@ -190,8 +190,7 @@ instance Arbitrary NgramsPatch where
newtype NgramsTablePatch =
NgramsTablePatch { _ntp_ngrams_patches :: Map NgramsTerm NgramsPatch }
deriving (Ord, Eq, Show, Generic, Arbitrary)
deriveJSON (unPrefix "_ntp_") ''NgramsTablePatch
deriving (Ord, Eq, Show, Generic, Arbitrary, ToJSON, FromJSON)
makeLenses ''NgramsTablePatch
instance ToSchema NgramsTablePatch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment