Enterprise ID does not always show up so checked for it#352
Conversation
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 76.38% 76.25% -0.13%
==========================================
Files 10 10
Lines 415 417 +2
Branches 74 75 +1
==========================================
+ Hits 317 318 +1
Misses 87 87
- Partials 11 12 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 76.38% 75.95% -0.44%
==========================================
Files 10 10
Lines 415 420 +5
Branches 74 76 +2
==========================================
+ Hits 317 319 +2
- Misses 87 88 +1
- Partials 11 13 +2
Continue to review full report at Codecov.
|
4 similar comments
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 76.38% 75.95% -0.44%
==========================================
Files 10 10
Lines 415 420 +5
Branches 74 76 +2
==========================================
+ Hits 317 319 +2
- Misses 87 88 +1
- Partials 11 13 +2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 76.38% 75.95% -0.44%
==========================================
Files 10 10
Lines 415 420 +5
Branches 74 76 +2
==========================================
+ Hits 317 319 +2
- Misses 87 88 +1
- Partials 11 13 +2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 76.38% 75.95% -0.44%
==========================================
Files 10 10
Lines 415 420 +5
Branches 74 76 +2
==========================================
+ Hits 317 319 +2
- Misses 87 88 +1
- Partials 11 13 +2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 76.38% 75.95% -0.44%
==========================================
Files 10 10
Lines 415 420 +5
Branches 74 76 +2
==========================================
+ Hits 317 319 +2
- Misses 87 88 +1
- Partials 11 13 +2
Continue to review full report at Codecov.
|
|
@MicahLyle thanks for pointing this out! This is an issue with the API on Slack's side - we have an open ticket to fix it. |
|
@Roach 🤔 whether or not the platform ships a fix, we should solve this at the SDK level so that it at least doesn’t raise an exception. Otherwise there’s no good way for anyone to use this lib at all until the platform fixes. Does that sound reasonable? |
|
@aoberoi @MicahLyle it looks like this has been fixed in the API. Would you mind testing your script again to confirm that you're no longer getting that error? |
|
@Roach I'm actually not going with workspace apps yet because they're not ready for my use case, so I switched some of the backend code to use the regular slack client instead of the workspace one, so right now I don't know if it works or not, haven't used the workspace code in over a week and a half and I'd have to like reset the database and stuff to test it. If you and/or anyone else would be interested in hearing some limitations/use cases for workspace apps that I think were pretty unique and why I felt like I couldn't use them yet though I'd be happy to talk with anyone at Slack! |
|
Thank you very much for taking the time to make this PR. This project no longer supports version 1.x as we've described here. Allow me to close this now. If you see the necessity to fix something similar in v2, please let us know by raising a new issue. |
Summary
Describe the goal of this PR. Mention any related Issue numbers.
Handles cases when enterprise_id is not available, like below:
Requirements (place an
xin each[ ])