To-do's REST API returns 500 with Wiki To-do
If the /api/v4/todos API is used, and the user has a todo from a wiki comment, a 500 is returned. Tracked the error locally to
caught error of type NameError in after callback inside Grape::Middleware::Formatter : uninitialized constant EE::API::Entities::WikiPage
Could be wrong, but issue seems to stem from https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/api/entities/todo.rb#L25-L31.
Edited by Matthew Macfarlane