pull/241/head
Andrey Dolgolev 2021-09-08 18:06:12 +03:00
rodzic 134b785c9e
commit b9d9584bfe
3 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -76,8 +76,8 @@ def create_subscription_type(
id: str,
name: str,
description: str,
choices: Optional[List[str]],
icon_url: str,
choices: Optional[List[str]] = [],
stripe_product_id: Optional[str] = None,
stripe_price_id: Optional[str] = None,
active: bool = False,

Wyświetl plik

@ -12,7 +12,7 @@ class SubscriptionTypeResourceData(BaseModel):
id: str
name: str
description: str
choices: Optional[List[str]]
choices: List[str] = Field(default_factory=list)
icon_url: str
stripe_product_id: Optional[str] = None
stripe_price_id: Optional[str] = None

Wyświetl plik

@ -19,7 +19,6 @@ from ..stream_queries import StreamQuery
logger = logging.getLogger(__name__)
logger.setLevel(logging.WARN)
allowed_tags = ["nfts"]
class BugoutEventProviderError(Exception):