diff options
Diffstat (limited to 'lib/api/npm_instance_packages.rb')
-rw-r--r-- | lib/api/npm_instance_packages.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/api/npm_instance_packages.rb b/lib/api/npm_instance_packages.rb index 8215296b617..ea92818e76c 100644 --- a/lib/api/npm_instance_packages.rb +++ b/lib/api/npm_instance_packages.rb @@ -6,10 +6,6 @@ module API feature_category :package_registry urgency :low - rescue_from ActiveRecord::RecordInvalid do |e| - render_api_error!(e.message, 400) - end - helpers do def endpoint_scope :instance |