Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in arguments for List Pages API #2389

Open
mrski007 opened this issue Jul 22, 2024 · 0 comments
Open

Typo in arguments for List Pages API #2389

mrski007 opened this issue Jul 22, 2024 · 0 comments

Comments

@mrski007
Copy link

Summary: The List Pages API controller states the incorrect value to use for the optional include argument to include the page body. It currently states "enrollments" when it should be "body". This is affecting the public facing documentation too. The function is properly defined to expect "body".

Steps to reproduce:

  1. Go to https://github.com/instructure/canvas-lms/blob/master/app/controllers/wiki_pages_api_controller.rb
  2. Go to line 258 in current version (or go to the API List Pages comment and go to the line after argument include[])

Expected behavior: It should state "body" as the optional include argument

Actual behavior: It currently states "enrollments" as the optional include argument

Additional notes:

@mrski007 mrski007 changed the title Typo is arguments for List Pages API Typo in arguments for List Pages API Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant