on master help sign in
Fixed docs typo
commitb4664161e1126f819eb1913017db2872d64a7cd5 authoriko <ilyakooo0@gmail.com> dateSun 21 Apr 2019, 12:18 (8 years ago) parent31f3f0d
1 file changed+1−1
denis/src/Server/Query/ComplexQuery.hs+1−1
denis/src/Server/Query/ComplexQuery.hs+1−1
@@ -45,7 +45,7 @@ instance (HasDocs api) => HasDocs (ComplexQuery :> api) where
4545
4646instance {-# Overlapping #-} ToSample (ComplexQueryRequest) where
4747 toSamples _ = samples $ [
48− M.fromList [("posts/last", "8"), ("users/all", "")],
48+ M.fromList [("posts/last", "8"), ("channels/", "")],
4949 M.fromList [("channels/","[{\"people\":[1],\"name\":\"newChannelName\",\"id\":7,\"tags\":[]},{\"people\":[1],\"name\":\"newChannelName\",\"id\":6,\"tags\":[]},{\"people\":[1],\"name\":\"newChannelName\",\"id\":5,\"tags\":[]},{\"people\":[1,1,2,2,2],\"name\":\"sssss\",\"id\":4,\"tags\":[\"thisIsHashTag\",\"thisIsHashTag\",\"thisIsHashTag\",\"thisIsHashTag\",\"thisIsAlsoHashTag\",\"cs\"]},{\"people\":[1,7,2,19],\"name\":\"ChannelName\",\"id\":1,\"tags\":[\"sos\"]}]"),("posts/last", "{\"users\":{\"1\":{\"middleName\":\"FirstUser\",\"lastName\":\"FirstUser\",\"firstName\":\"FirstUser\",\"id\":1}},\"response\":[{\"body\":[{\"markdown\":\"hello\"}],\"authorId\":1,\"id\":28,\"updated\":\"2019-04-13T16:14:38.495832Z\",\"tags\":[]}]}")]]
5050
5151-- MARK: Implementation