Sanitize cloud products for non admin users (#20540)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
24c44736c0
Коммит
411e4d979c
@@ -53,6 +53,13 @@ type Product struct {
|
||||
BillingScheme BillingScheme `json:"billing_scheme"`
|
||||
}
|
||||
|
||||
type UserFacingProduct struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
SKU string `json:"sku"`
|
||||
PricePerSeat float64 `json:"price_per_seat"`
|
||||
}
|
||||
|
||||
// AddOn represents an addon to a product.
|
||||
type AddOn struct {
|
||||
ID string `json:"id"`
|
||||
|
||||
Ссылка в новой задаче
Block a user