Commit d9e09553 authored by Nicolas Pouillard's avatar Nicolas Pouillard

[NGRAMS] Fix the history change for the POST route

parent abe0cda2
......@@ -914,7 +914,7 @@ putListNgrams' nodeId ngramsType ns = do
var <- view repoVar
liftBase $ modifyMVar_ var $ \r -> do
pure $ r & r_version +~ 1
& r_history %~ mempty
& r_history %~ (mempty :)
& r_state . at ngramsType %~
(Just .
(at nodeId %~
......
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