Skip to content

Conversation

@seratch
Copy link
Contributor

@seratch seratch commented Mar 27, 2022

This pull request fixes #954

Category (place an x in each of the [ ])

  • bolt (Bolt for Java)
  • bolt-{sub modules} (Bolt for Java - optional modules)
  • slack-api-client (Slack API Clients)
  • slack-api-model (Slack API Data Models)
  • slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • slack-app-backend (The primitive layer of Bolt for Java)

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

@seratch seratch added enhancement M-T: A feature request for new functionality project:slack-api-client project:slack-api-client labels Mar 27, 2022
@seratch seratch added this to the 1.21.0 milestone Mar 27, 2022
@seratch seratch self-assigned this Mar 27, 2022
" \"user_id\": \"U1234567\",\n" +
" \"bot_id\": \"B12345678\",\n" +
" \"enterprise_id\": \"E12345678\",\n" +
" \"error\": \"\"\n" +
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This had been wrong and the empty string value is unused in the existing tests.

@codecov
Copy link

codecov bot commented Mar 27, 2022

Codecov Report

Merging #957 (2226dd3) into main (fe62ce0) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 2226dd3 differs from pull request most recent head 3356c55. Consider uploading reports for the commit 3356c55 to get more accurate results

@@             Coverage Diff              @@
##               main     #957      +/-   ##
============================================
- Coverage     76.42%   76.42%   -0.01%     
- Complexity     3657     3658       +1     
============================================
  Files           396      397       +1     
  Lines         11056    11057       +1     
  Branches       1096     1096              
============================================
  Hits           8450     8450              
  Misses         1956     1956              
- Partials        650      651       +1     
Impacted Files Coverage Δ
...in/java/com/slack/api/methods/SlackApiRequest.java 100.00% <100.00%> (ø)
...imits/metrics/impl/BaseMemoryMetricsDatastore.java 84.84% <0.00%> (-0.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe62ce0...3356c55. Read the comment docs.

@seratch seratch merged commit 312b648 into slackapi:main Mar 28, 2022
@seratch seratch deleted the issue-954-setToken-in-requests branch March 28, 2022 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality project:slack-api-client project:slack-api-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add setToken(String) to MethodsClient request Interface

2 participants