potpie icon indicating copy to clipboard operation
potpie copied to clipboard

feat: add sort and order params to conversations list API

Open TsainGra opened this issue 6 months ago • 2 comments

  • Added support for sorting by created_at or updated_at fields (default: created_at)
  • Added support for ascending or descending order (default: desc)
  • Updated user router, controller, and service to handle new parameters
  • Fixed line length issues to comply with linting rules

Closes #359

Summary by CodeRabbit

  • New Features

    • Added support for sorting and ordering conversations when retrieving a user's conversation list. Users can now specify sort field ("created_at" or "updated_at") and order ("asc" or "desc") via new query parameters.
  • Enhancements

    • Improved error handling and logging for conversation retrieval operations.

TsainGra avatar Apr 19 '25 01:04 TsainGra