Use actual activated at value for license type
Prior to this change, the value for activated at in the GraphQL Types::Admin::CloudLicenses::LicenseType class was using created at since the field didn't exist before. Now that the field exists in the Gitlab::License we can use the actual value and implement a fallback to created at for older licenses.
显示
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.lock 2 个添加, 2 个删除Gemfile.lock
- ee/app/graphql/types/admin/cloud_licenses/license_type.rb 1 个添加, 2 个删除ee/app/graphql/types/admin/cloud_licenses/license_type.rb
- ee/app/models/license.rb 4 个添加, 0 个删除ee/app/models/license.rb
- ee/spec/models/license_spec.rb 21 个添加, 0 个删除ee/spec/models/license_spec.rb
加载中
想要评论请 注册 或 登录