Skip to content

Bug - API v0 plans endpoint returns a 500 error #2776

@briri

Description

@briri

The api/v0/plans API endpoint returns a 500 error. The error message reports an undefined method paginate in apps/controllers/api/v0/plans_controller.rb at line 125.

  • Include the Paginable controller
  • Set the @args hash with the per_page and page attributes
  • Call the Paginable scope's refine_query method instead of paginate

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions