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 bd9c2f5 commit 9d9dce0Copy full SHA for 9d9dce0
slack_sdk/oauth/installation_store/sqlalchemy/__init__.py
@@ -247,7 +247,11 @@ def find_installation(
247
team_id = None
248
249
c = self.installations.c
250
- where_clause = and_(c.enterprise_id == enterprise_id, c.team_id == team_id)
+ where_clause = and_(
251
+ c.client_id == self.client_id,
252
+ c.enterprise_id == enterprise_id,
253
+ c.team_id == team_id,
254
+ )
255
if user_id is not None:
256
where_clause = and_(
257
c.client_id == self.client_id,
0 commit comments