diff options
Diffstat (limited to 'src/Service.hs')
-rw-r--r-- | src/Service.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Service.hs b/src/Service.hs index 22c983b..96fa63d 100644 --- a/src/Service.hs +++ b/src/Service.hs @@ -116,7 +116,7 @@ instance MonadStorage (ServiceHandler s) where instance MonadHead LocalState (ServiceHandler s) where updateLocalHead f = do - (ls, x) <- liftIO . f =<< gets svcLocal + (ls, x) <- f =<< gets svcLocal modify $ \s -> s { svcLocal = ls } return x |