From fe5bc258fdef24fb063305080a309336244dbfb2 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 26 Aug 2023 22:07:49 +0200 Subject: 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. --- slack/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slack/commands.py') 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" -- cgit