ChainSafe / forest-iac

Infrastructure as Code to support the Forest Filecoin project
Apache License 2.0
10 stars 5 forks source link

Resolve `files_upload` deprecated in Slack API #440

Open LesnyRumcajs opened 4 months ago

LesnyRumcajs commented 4 months ago

Issue summary

According to Slack API documentation

files.upload is deprecated and will stop functioning on March 11, 2025. Use files.getUploadURLExternal and files.completeUploadExternal to upload files instead. Newly created apps will be unable to use files.upload beginning May 8, 2024. See Uploading files for more details on the process and this changelog for more on the deprecation.

We use files_upload from the slack-ruby-client gem. We should use the suggested methods instead, which are already exposed in the files module.

Other information and links