Skip to content

Commit

Permalink
Now only one url to get the feed
Browse files Browse the repository at this point in the history
  • Loading branch information
db0company committed Nov 17, 2013
1 parent a35e0d6 commit edeac57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apiFeed.ml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let get ~auth ?(page = Page.default_parameters) ?(activity_type = [])
(* PRIVATE *)
(match user with
| Some user_id -> ["users"; user_id]
| None -> []) @
| None -> ["users"; "self"]) @
(* /PRIVATE *)
["feed"])
~req:(Some (Auth auth))
Expand Down
2 changes: 0 additions & 2 deletions apiFeed.mli
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ val get :
auth:auth
-> ?page:Page.parameters
-> ?activity_type: string list
(* PRIVATE *)
-> ?user:id option
(* /PRIVATE *)
-> unit -> ApiPlayground.t Page.t Api.t

0 comments on commit edeac57

Please sign in to comment.