aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/update_mocks.sh
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-28 23:40:56 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit633c881c3b8732dddc5b4abdbe111769b72137e3 (patch)
tree4fe5726f9c6fd09678ae76ccb023852715ebbe2a /scripts/update_mocks.sh
parent2ba6473b41a9a742d4611a8f1259aa36a769ed7e (diff)
downloadwee-slack-633c881c3b8732dddc5b4abdbe111769b72137e3.tar.gz
Support unfurling usergroup names
Diffstat (limited to 'scripts/update_mocks.sh')
-rwxr-xr-xscripts/update_mocks.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update_mocks.sh b/scripts/update_mocks.sh
index 05cc072..c2e0ea4 100755
--- a/scripts/update_mocks.sh
+++ b/scripts/update_mocks.sh
@@ -28,3 +28,5 @@ curl_slack "$api_base/users.info?user=UU6635U31" | jq . > mock_data/slack_users_
curl_slack "$api_base/conversations.history?channel=CK4M8EWJE" | jq . > mock_data/slack_conversations_history_channel_public.json
curl_slack "$api_base/conversations.history?channel=D7HHQR467" | jq . > mock_data/slack_conversations_history_im.json
+
+curl_slack "$api_base/usergroups.list?include_users=true" | jq . > mock_data/slack_usergroups_list.json