Skip to content

Conversation

santib
Copy link
Member

@santib santib commented Sep 15, 2025

No description provided.

@github-actions github-actions bot added the api_docs API Documentation label Sep 15, 2025
@santib santib requested review from Copilot and a team September 15, 2025 20:33
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes deprecation warnings by updating HTTP status codes from the deprecated :unprocessable_entity to the recommended :unprocessable_content across the codebase.

  • Updates test expectations to use the new status code symbol
  • Updates controller error handling to use the new status code symbol

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
spec/requests/api/v1/users/create_spec.rb Updates test expectations for user creation validation failures
spec/requests/api/v1/passwords/update_spec.rb Updates test expectations for password update validation failures
app/controllers/api/v1/api_controller.rb Updates exception handling to use new status code

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

@santib santib merged commit e38d5e7 into main Sep 15, 2025
5 checks passed
@santib santib deleted the fix-deprecation-warnings branch September 15, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api_docs API Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants