@@ -54,7 +54,7 @@ createChannelApi uId req = maybeNotFound . runQnotFound $ createNewChannel uId r
55updateChannelApi :: UserId -> NamedChannel UserId -> App NoContent
55updateChannelApi :: UserId -> NamedChannel UserId -> App NoContent
56updateChannelApi uId req = do
56updateChannelApi uId req = do
57− runQnotFound $ updateChannel uId req
57+ runQ err500 $ updateChannel uId req
58 return NoContent
58 return NoContent
60deleteChannelApi :: UserId -> NamedChannelId -> App NoContent
60deleteChannelApi :: UserId -> NamedChannelId -> App NoContent