instructure / pandarus

A Ruby library for the Canvas API (and code generator for other languages, eventually)
34 stars 25 forks source link

call to get_user_profile fails for self #2

Closed codekitchen closed 6 years ago

codekitchen commented 10 years ago

The canvas API returns the calendar url when making this API call for your own user. But then Pandarus tries to instantiate a non-existent "CalendarLink" class and explodes, see the definition at https://github.com/instructure/pandarus/blob/master/api/users.json#L860

simonista commented 6 years ago

Not sure when it got fixed, but this is now returning a Profile object.