instructure / pandarus

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

call to get_user_profile fails for self #2

Closed codekitchen closed 7 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 7 years ago

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