Commit Graph

2 Commits

Author SHA1 Message Date
Zach Wily d38867476d fix showing discussion entries from collection items in stream api
Having a collection item discussion entry in your activity stream was
causing a 500 error from the API

test plan: create a collection item, and add a discussion comment to it
(currently this can only be done from the API). then get your activity
stream from the API, and verify there's no error. The html_url won't yet
be returned, since the html routes aren't enabled for collections yet.

Change-Id: Iea20460dd5279e80f9437012855d4032ce9bce22
Reviewed-on: https://gerrit.instructure.com/12588
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
2012-08-03 09:05:47 -06:00
Brian Palmer cb39e6eeb8 api for accessing user/course todo items, closes #5426
Change-Id: I04b6113e6ab5ced1c0b49bf0c2664eb6ac435df5
Reviewed-on: https://gerrit.instructure.com/5741
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Mark Suman <marks@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2011-10-07 15:51:49 -06:00