MCPcopy Create free account
hub / github.com/QuantumNous/new-api / AdminUpdateSubscriptionPlanStatusRequest

Struct AdminUpdateSubscriptionPlanStatusRequest

controller/subscription.go:324–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324type AdminUpdateSubscriptionPlanStatusRequest struct {
325 Enabled *bool `json:"enabled"`
326}
327
328func AdminUpdateSubscriptionPlanStatus(c *gin.Context) {
329 if !requirePaymentCompliance(c) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected