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 9bc08a7 commit 6681fdaCopy full SHA for 6681fda
1 file changed
lib/slack/web/api/mixins/ids.id.rb
@@ -15,8 +15,7 @@ def id_for(key:, name:, prefix:, enum_method:, list_method:, options: {})
15
end
16
17
18
- not_found_error = "#{key}_not_found"
19
- raise Slack::Web::Api::Errors::SlackError, not_found_error
+ raise Slack::Web::Api::Errors::SlackError, "#{key}_not_found"
20
21
22
0 commit comments