mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
15 lines
442 B
Python
15 lines
442 B
Python
from typing import Any
|
|
|
|
from typing_extensions import override
|
|
|
|
from corporate.lib.stripe import downgrade_small_realms_behind_on_payments_as_needed
|
|
from zerver.lib.management import ZulipBaseCommand
|
|
|
|
|
|
class Command(ZulipBaseCommand):
|
|
help = "Downgrade small realms that are running behind on payments"
|
|
|
|
@override
|
|
def handle(self, *args: Any, **options: Any) -> None:
|
|
downgrade_small_realms_behind_on_payments_as_needed()
|