Skip to content

Commit c3741e4

Browse files
committed
Fix missing correct nammes in DefaultResoruce ServiceSubscription
1 parent 4468b33 commit c3741e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

threescale_api/resources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,10 +1189,10 @@ def __init__(self, **kwargs):
11891189
super().__init__(**kwargs)
11901190

11911191
def approve(self, entity_id: int, **kwargs):
1192-
return self.client.approve_service_subscription(entity_id=self.entity_id, **kwargs)
1192+
return self.client.approve(entity_id=self.entity_id, **kwargs)
11931193

11941194
def change_plan(self, entity_id: int, **kwargs):
1195-
return self.client.change_plan_service_subscription(entity_id=self.entity_id, **kwargs)
1195+
return self.client.change_plan(entity_id=self.entity_id, **kwargs)
11961196

11971197

11981198
class Metric(DefaultResource):

0 commit comments

Comments
 (0)