forked from DGNum/uptime-kuma-api
fix: remove required notification provider args check
This commit is contained in:
parent
3d9a2a40b0
commit
52d33d8751
1 changed files with 4 additions and 3 deletions
|
@ -247,9 +247,10 @@ def _check_arguments_notification(kwargs):
|
|||
required_args = ["type", "name"]
|
||||
_check_missing_arguments(required_args, kwargs)
|
||||
|
||||
type_ = kwargs["type"]
|
||||
required_args = notification_provider_options[type_]
|
||||
_check_missing_arguments(required_args, kwargs)
|
||||
# TODO: collect required notification args from /src/components/notifications/*
|
||||
# type_ = kwargs["type"]
|
||||
# required_args = notification_provider_options[type_]
|
||||
# _check_missing_arguments(required_args, kwargs)
|
||||
_check_argument_conditions(notification_provider_conditions, kwargs)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue