Commit f93f1913 authored by Vijay Hawoldar's avatar Vijay Hawoldar

Add changelog for modifying snippet status codes

parent e74ae486
---
title: Change invalid Snippet params status code from 403 to 422
merge_request: 40619
author:
type: changed
...@@ -417,7 +417,7 @@ RSpec.describe API::Snippets do ...@@ -417,7 +417,7 @@ RSpec.describe API::Snippets do
true | nil | '' | [create_action] | :bad_request true | nil | '' | [create_action] | :bad_request
true | nil | nil | [bad_file_path] | :bad_request true | nil | nil | [bad_file_path] | :bad_request
true | nil | nil | [bad_previous_path] | :bad_request true | nil | nil | [bad_previous_path] | :bad_request
true | nil | nil | [invalid_move] | :forbidden true | nil | nil | [invalid_move] | :unprocessable_entity
false | 'foo.txt' | 'bar' | nil | :success false | 'foo.txt' | 'bar' | nil | :success
false | 'foo.txt' | nil | nil | :success false | 'foo.txt' | nil | nil | :success
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment