Move the book to have an id as well

This commit is contained in:
2018-08-07 22:27:05 +03:00
parent 881c53493f
commit 5dac8374fd
3 changed files with 12 additions and 11 deletions

View File

@ -34,7 +34,7 @@ insertChannel username channel = do
restrict (user .== literal username)
return userId
booksChannels :: (MonadMask m, MonadIO m) => HashDigest -> SeldaT m [Channel]
booksChannels :: (MonadMask m, MonadIO m) => BookID -> SeldaT m [Channel]
booksChannels contentHash = fromRels <$> query q
where
q = do