summaryrefslogtreecommitdiff
path: root/src/Erebos/Sync.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-08-16 10:54:15 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-08-16 11:16:06 +0200
commit896931339ac254c2bbfa0e2d0b780ad918a57b34 (patch)
tree7923e453dc42c3cc2005a83a627ad00793ef2d87 /src/Erebos/Sync.hs
parentdc8be3ac86b92c791b398559d5f1132121d0e7ea (diff)
Helpers for server storage watchers
Diffstat (limited to 'src/Erebos/Sync.hs')
-rw-r--r--src/Erebos/Sync.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Erebos/Sync.hs b/src/Erebos/Sync.hs
index 5f5fdec..52251e3 100644
--- a/src/Erebos/Sync.hs
+++ b/src/Erebos/Sync.hs
@@ -32,7 +32,7 @@ instance Service SyncService where
serviceNewPeer = notifyPeer . lsShared . fromStored =<< svcGetLocal
serviceUpdatedPeer = serviceNewPeer
- serviceStorageWatchers _ = (:[]) $ SomeStorageWatcher (lsShared . fromStored) notifyPeer
+ serviceStorageWatchers _ = (:[]) $ someStorageWatcher (lsShared . fromStored) notifyPeer
instance Storable SyncService where
store' (SyncPacket smsg) = store' smsg