We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abd9cc commit 26b98fcCopy full SHA for 26b98fc
1 file changed
method/resources/Entities/Subscriptions.py
@@ -55,7 +55,7 @@ def list(self) -> MethodResponse[EntitySubscriptionListResponse]:
55
return super(EntitySubscriptionsResource, self)._list()
56
57
def create(self, opts: EntitySubscriptionCreateOpts | EntitySubscriptionNamesLiterals) -> MethodResponse[EntitySubscriptionResponseOpts]:
58
- if isinstance(opts, str) and opts in ('connect', 'credit_score', 'attribute'):
+ if isinstance(opts, str):
59
opts = {'enroll': opts}
60
return super(EntitySubscriptionsResource, self)._create(opts)
61
0 commit comments