aboutsummaryrefslogtreecommitdiffstats
path: root/slack/commands.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-26 22:07:49 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commitfe5bc258fdef24fb063305080a309336244dbfb2 (patch)
tree2c2a0f031fb8797de24d06fe245aa53543fd51f6 /slack/commands.py
parent62de441e0cb1c05797d1279f1c642d6efbba98cb (diff)
downloadwee-slack-fe5bc258fdef24fb063305080a309336244dbfb2.tar.gz
Split edgeapi out to separate class
Since this isn't available for OAuth tokens it's good to have an easy way to see where it's used.
Diffstat (limited to 'slack/commands.py')
-rw-r--r--slack/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/commands.py b/slack/commands.py
index 69183a2..57a257f 100644
--- a/slack/commands.py
+++ b/slack/commands.py
@@ -456,7 +456,7 @@ async def complete_user_next(
):
if conversation.completion_context == "NO_COMPLETION":
conversation.completion_context = "PENDING_COMPLETION"
- search = await conversation.workspace.api.fetch_users_search(query)
+ search = await conversation.workspace.api.edgeapi.fetch_users_search(query)
if conversation.completion_context != "PENDING_COMPLETION":
return
conversation.completion_context = "ACTIVE_COMPLETION"