CHanged error on channel update.
commitf8671039984cadde0b54741b3139acb19a635c32
authoriko <ilyakooo0@gmail.com>
dateSat 16 Mar 2019, 02:05 (8 years ago)
parent48f5f57
denis/src/Server/API/Channels.hs+1−1
@@ -54,7 +54,7 @@ createChannelApi uId req = maybeNotFound . runQnotFound $ createNewChannel uId r
5454
5555updateChannelApi :: UserId -> NamedChannel UserId -> App NoContent
5656updateChannelApi uId req = do
57− runQnotFound $ updateChannel uId req
57+ runQ err500 $ updateChannel uId req
5858 return NoContent
5959
6060deleteChannelApi :: UserId -> NamedChannelId -> App NoContent