Make some params optional for add-on purchase update endpoint
The update endpoint for a subscription add-on purchase required the `quantity`, `expires_on` and `purchase_xid` params. For the deprovisioning of a subscription add-on purchase, only the `expires_on` will be synced. The other two params are therefore made optional for the update endpoint.
显示
- doc/development/internal_api/index.md 2 个添加, 2 个删除doc/development/internal_api/index.md
- ee/app/services/gitlab_subscriptions/add_on_purchases/update_service.rb 4 个添加, 2 个删除...s/gitlab_subscriptions/add_on_purchases/update_service.rb
- ee/lib/api/gitlab_subscriptions/add_on_purchases.rb 6 个添加, 10 个删除ee/lib/api/gitlab_subscriptions/add_on_purchases.rb
- ee/spec/requests/api/gitlab_subscriptions/add_on_purchases_spec.rb 24 个添加, 2 个删除...equests/api/gitlab_subscriptions/add_on_purchases_spec.rb
想要评论请 注册 或 登录