Skip to content

Commit

Permalink
fix: expected param retrieval from app
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Oct 17, 2024
1 parent 415cb09 commit 366f976
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/composio/tools/toolset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,7 @@ def _get_expected_params_from_integration_id(self, id: str) -> t.Dict:
def _get_expected_params_from_app(self, app: AppType) -> t.Dict:
for integration in sorted(self.get_integrations(), key=lambda x: x.createdAt):
if integration.appName.lower() == str(app).lower():
integration = self.get_integration(id=integration.id)
return {
"integration_id": integration.id,
"auth_scheme": integration.authScheme,
Expand Down

0 comments on commit 366f976

Please sign in to comment.